iodepo / oih-ui

source code for the Ocean InfoHub (OIH) website
https://oceaninfohub.org/
MIT License
5 stars 4 forks source link

Issue with Facet Filter reset on re-selection #101

Open dev-marcoC opened 11 months ago

dev-marcoC commented 11 months ago

When I visit this page, where I can view the entire OIH corpus, I rightly have the option to select the facets I desire. image

Upon selecting any facet, the page functions correctly and returns only the data associated with the chosen filter. image

image

However, if I reselect, for example, 'Keywords' (the initial label) from the dropdown, the displayed data does not revert to what it was before the filter was applied.

image

The only way to reset everything is to click the 'Clear' button.

Is this behavior intentional, or is it, as we suspect, a bug?