AtlasOfLivingAustralia/biocache-hubs

Charts tab issue with decade display

nickdos opened this issue · 1 comments

https://biocache-test.ala.org.au/occurrences/search?q=occurrence_date%3A%5B2020-07-20T00%3A00%3A00Z+TO+2020-07-30T00%3A00%3A00Z%5D#tab_chartsView

Note the filter for this search is date: 2020-07-20 TO 2020-07-30...

Decade charts shows wrong decade (2010-2019) and link (clicking on the chart) returns zero results (as expected)

image

Fix is to show correct decade (2020-2029).

Note: this may be a bug in the charts JS code - not sure where this might reside.

I think it is working today because the charge lists the expected decade and clicking on it works.