This commit refactors the code to improve the retrieval of the polity year range. The previous implementation used hard-coded values, but now it uses a database query to dynamically fetch the minimum and maximum polity years from the core_videoshapefile table. This ensures that the displayed year range accurately reflects the available polity shape data.
This commit refactors the code to improve the retrieval of the polity year range. The previous implementation used hard-coded values, but now it uses a database query to dynamically fetch the minimum and maximum polity years from the
core_videoshapefile
table. This ensures that the displayed year range accurately reflects the available polity shape data.