OpenSearch-Dashboards
OpenSearch-Dashboards copied to clipboard
[BUG] Filters persist when creating new searches or switching indices
Describe the bug
When clicking "New" to create a new search any configured filters persist. They are also persisted when changing indices. This happens even though they are not pinned.
To Reproduce Steps to reproduce the behavior:
- Go to Discover
- Create any filter
- Click "New"
- See filter persist.
- Change Index
- See filter persist.
Expected behavior
- When a "New" search is created, all the unpinned filters are cleared.
- When the selected index is changes, all unpinned filters are cleared.
OpenSearch Version 2.17
Dashboards Version 2.17
Plugins kibana-enhanced-table
Screenshots N/A
Host/Environment (please complete the following information):
- OS: Windows 11
- Microsoft Edge: 129.0.2792.52 (Official build) (64-bit)
- Firefox 130.0.1 (64-bit)
- Chrome: 129.0.6668.70 (Official Build) (64-bit) (cohort: M129 Rollout)
Additional context