BiologicalRecordsCentre / SPRING

Repository for tracking issues for the SPRING (EU Pollinator Monitoring) project
GNU General Public License v3.0
0 stars 0 forks source link

How to handle new years in the Year filter on SPRING reports? #107

Closed andrewvanbreda closed 1 year ago

andrewvanbreda commented 1 year ago

@DavidRoy I have deployed a change for UKPoMS. Would you like the same (or a variation of this) on SPRING? https://github.com/BiologicalRecordsCentre/PoMS/issues/143

How to handle the Year drop-down on report pages like this https://pollinator-monitoring.net/transect-walk-results

Currently the drop-down will add 2023 automatically, but it doesn't select the new year automatically (currently set to 2022).

2023 might be logical, but need to consider that if 2023 is default on reports, when the page first loads, the user won't see any data very early in January (which does have the advantage of not hammering the server every time the page loads)

DavidRoy commented 1 year ago

That works, thanks