kartoza / django-bims

https://testing.healthyrivers.kartoza.com
GNU Affero General Public License v3.0
12 stars 19 forks source link

Year filter bug #3813

Open jeremyshelton opened 6 months ago

jeremyshelton commented 6 months ago

@dimasciput despite applying the year filter to select data between 2004 and 2024, the search results in the detailed dashboard returned data for years earlier than 2004. See filter history vs occurrence data in this dashboard: https://freshwaterbiodiversity.org/map/#site-detail/taxon=&search=&siteId=&collector=&category=&yearFrom=2004&yearTo=2024&months=&boundary=&userBoundary=&referenceCategory=&spatialFilter=[%22value%2Ccombination_saprovince_sadc_boundary%2CWestern%20Cape%22]&reference=&endemic=&conservationStatus=[]&modules=1&validated=&sourceCollection=[%22fbis%22,%22gbif%22,%22virtual_museum%22]&module=occurrence&ecologicalCategory=&rank=&siteIdOpen=&orderBy=name&polygon=&dst=&ecosystemType=River,Wetland,Open%20waterbody,Unspecified

And see here.

Screenshot 2024-05-21 at 14 35 24
dimasciput commented 3 months ago

@jeremyshelton I have found the issue and written a script to fix it. I will implement this on the new production site instead.

jeremyshelton commented 3 months ago

Thanks @dimasciput Will test later in the the week then.