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

[Discover] When switching from Fields API to _source, default column is confused in context view #91493

Closed
majagrubic opened this issue Feb 16, 2021 · 1 comment · Fixed by #91815
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Discover Discover Application Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.12.0

Comments

@majagrubic
Copy link
Contributor

majagrubic commented Feb 16, 2021

Kibana version:
master

Describe the bug:
When in context view of Discover and we toggle the UI setting for readFromSource and navigate back to Discover, the "old" default column is still shown (eg. _source instead of Document)

Steps to reproduce:

  1. Go to Discover
  2. Select an index pattern that has documents
  3. Click "View surrounding documents"
  4. Wait for the context view to load; observe that the default column has loaded correctly (should be Document)
  5. Go to Advanced Settings > Discover
  6. Toggle readFieldsFromSource
  7. Go back to Discover, context view should be opened
  8. Observe the default column didn't change

Expected behavior:
Default column changes based on the UI setting

Screenshots (if relevant):

Errors in browser console (if relevant):

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

Any additional context:

@majagrubic majagrubic added bug Fixes for quality problems that affect the customer experience Feature:Discover Discover Application v7.12 Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Feb 16, 2021
@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
bug Fixes for quality problems that affect the customer experience Feature:Discover Discover Application Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.12.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants