Default query language in app state to match linked search if there is one #14016
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Visualizations
Generic visualization features (in case no more specific feature label is available)
When creating new filters, filter_bar_click_handler looks at the app state to see which language it should use. In Visualize, when a visualization is linked to a saved search, that saved search's query is separate from the one in app state. This means that filter_bar_click_handler might use the wrong language if, for instance, the saved search is lucene but the default language (in app state) is kuery. When a saved search is linked, we should ignore the global default and set the app state language to whatever the saved search is using.
The text was updated successfully, but these errors were encountered: