Skip to content
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

[Visualize] Linked search doesn't work when go back in browser history #57977

Closed
sulemanof opened this issue Feb 19, 2020 · 1 comment · Fixed by #59690
Closed

[Visualize] Linked search doesn't work when go back in browser history #57977

sulemanof opened this issue Feb 19, 2020 · 1 comment · Fixed by #59690
Labels
Feature:Visualizations Generic visualization features (in case no more specific feature label is available) Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@sulemanof
Copy link
Contributor

Kibana version:
< 8.0.0

Elasticsearch version:
any

Server OS version:
any

Browser version:
any

Browser OS version:
any

Original install method (e.g. download page, yum, from source, etc.):
from source

Describe the bug:
If you created a visualization based on saved search from discover, then press back browser button, it will become linked again, but the search is incorrect (query and filters from the saved search are not applied).

Steps to reproduce:

  1. Create a saved search in discover with custom query and filter(s)
  2. Save the search
  3. Create any visualization based on that search
  4. Press unlink button (filters and query will be streamed to the current app state)
  5. Press back button. The visualization will become linked again, but query and filter are not included in the search, just missed

Expected behavior:
The visualization should be based on the saved search

Screenshots (if relevant):

Example (saved search filtering by category "Womens clothing"):

image

after unlinking saved search (correct behavior)

image

after pressing back button (changed results, seems like the filters aren't put back in place):

image

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:

@sulemanof sulemanof added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Feb 19, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Visualizations Generic visualization features (in case no more specific feature label is available) Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
3 participants