Ability to prevent filters resetting on new searches at an individual filter level
See original GitHub issueWhen a new search is performed, do NOT clear this filter. This should be an option on facets, and also an option on setFilter
/ addFilter
actions.
This is mentioned here:
https://github.com/elastic/search-www.elastic.co/issues/29
ex.
<Facet field="state" sticky />
setFilter('category', 'all', { sticky: true })
It’s important to note that you can currently take an all-or-nothing approach when updating the search term using the shouldClearFilters flag. The only current limitation here is that you cannot selectively choose to preserve or remove individual filters.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:7 (2 by maintainers)
Top Results From Across the Web
The Bookmark feature will reset the report filter on PBI Service
Simply right-click the bookmark and uncheck 'data' category, you will get the report/page level filters kept when you jump between bookmarks. In my...
Read more >Power BI Visualization Tip: Hide or Lock the Filter for Users
Learn how to stop the user from being able to change the filter or view the filter in a Power BI report using...
Read more >Pivot table filters reset when erasing or replacing data
I intend to save multiple copies of the sheet for individuals to use, then pull all the data into a master workbook. Here's...
Read more >Video: Advanced filter details - Microsoft Support
Training: You can use the Advanced Filter to create more powerful filters, such as filtering for unique records and using operators such as...
Read more >Filtering Dashboards (EX) - Qualtrics
If a field is marked as sensitive in your Dashboard Data and the dashboard user has the permission to View Sensitive Fields disabled,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If you want to preserve all filters on subsequent searches you can use the shouldClearFilters option on the
SearchBox
component. Just set it to false. Let me know if that works for your use case or not.I figured this out, i put it in the wrongggggg place