Skip to content

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 9.0:

Questions ?

Please refer to the Backport tool documentation

…out in the KQL search bar (elastic#238731)

Closes elastic#236288

### Background
elastic#225705 fixed an issue where
controls where getting created with adhoc data views. This fix cause
regression elastic#236288. Instead of
filtering out adhoc data views from dashboard.dataViews$, the fix should
occur in the control group level and ignore adhoc data views when
suggesting the data view when creating a control.

### Test instructions
* install sample web logs and wait until its install - web logs is
expected to be default data view
* install sample flights data set
* create new dashboard
* add ESQL panel with statement `FROM kibana_sample_data_flights | LIMIT
10`
* click into unified search query bar. Verify typeahead is populated
from `flights` data view.
* Add new control to dashboard. Ensure suggested data view is `Kibana
Sample Data Logs` - meaning the control suggested the default data view
and not the adhoc flights data view from the lens panel.

(cherry picked from commit 01e67c3)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Oct 14, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) October 14, 2025 17:59
@elasticmachine
Copy link
Contributor

CI was triggered for this PR, but this PR targets 9.0 which should not receive a future release. CI is not supported for these branches. Please consult the release schedule, or contact #kibana-operations if you believe this is an error.

The following branches are currently considered to be open:

  • main
  • 9.2
  • 9.1
  • 8.19
  • 8.18
  • 7.17

1 similar comment
@elasticmachine
Copy link
Contributor

CI was triggered for this PR, but this PR targets 9.0 which should not receive a future release. CI is not supported for these branches. Please consult the release schedule, or contact #kibana-operations if you believe this is an error.

The following branches are currently considered to be open:

  • main
  • 9.2
  • 9.1
  • 8.19
  • 8.18
  • 7.17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants