-
Notifications
You must be signed in to change notification settings - Fork 923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG][Discover] Updating a filter for a saved search does not show up when sharing #6838
Comments
When add a new filter to a saved search, then refresh the url: If saved object id exist, in the following effect
|
We could modify the logic in use_search to
|
The query should have the same issue and we need to modify it as well |
This was referenced Jun 10, 2024
This is fixed by #8168 Screen.Recording.2024-09-16.at.11.52.51.AM.mov |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
In 2.11 Discover, when a user modifies a saved search with new filters (but does not save the changes) and goes to share the link, the shared link does not show the updated filters. OSD 2.7 allowed this.
To Reproduce
Steps to reproduce the behavior:
Discover
and select an Index Pattern (in the recording, I usedopensearch_dashboards_sample_data_flights
+ Add filter
and add some filter (in the recording, I usedDestCountry is US
Save
at the top right to save the search and do not navigate away from the page+ Add filter
and add another filter (in the recording, I usedOriginCountry is US
Share
andCopy link
(this will also be reproduced when theShort URL
is toggled)Expected behavior
The filters should persist when sharing the link
OpenSearch Version
OS 2.11.1
Dashboards Version
OSD 2.11.1
Plugins
Only core plugins
Screenshots
Screen.Recording.2024-05-26.at.10.54.40.AM.mov
Host/Environment (please complete the following information):
Additional Context
I checked the links at several stages
Link with original filters before saving changes
Link of the saved search with original filters
Shared link
The text was updated successfully, but these errors were encountered: