OpenSearch-Dashboards icon indicating copy to clipboard operation
OpenSearch-Dashboards copied to clipboard

[BUG] Filters persist when creating new searches or switching indices

Open msoler8785 opened this issue 5 months ago • 0 comments

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:

  1. Go to Discover
  2. Create any filter
  3. Click "New"
  4. See filter persist.
  5. Change Index
  6. See filter persist.

Expected behavior

  1. When a "New" search is created, all the unpinned filters are cleared.
  2. 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

msoler8785 avatar Sep 25 '24 16:09 msoler8785