ICIJ / datashare-client

Frontend interface for Datashare, a self-hosted search engine for documents.
https://datashare.icij.org
GNU Affero General Public License v3.0
32 stars 17 forks source link

feat: the filters panel visibility should be persisted#1127 #284

Closed pirhoo closed 1 year ago

pirhoo commented 1 year ago

PR description

This allow the filters panel to stays hidden when user start a new search. https://github.com/ICIJ/datashare/issues/1127.

Changes

For some reasons the showFilters property of the search store was not excluded from the reset of properties when a new search was initiated. During boys-scooting I also the list of key to update to variable for better readability.