[Discover] Fix index pattern switch behavior #92131
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR takes care of an issue introduced in #92132 when you switch index patterns, found while testing for #88426
_source
as default column when switching index patterns. This is now handled in state managementTesting
kibana_sample_data_ecommerce
demo datakibana_sample_data-eco*
, without time fieldkibana_sample_data-eco*
sort
part of the URL, it should be empty. Before it was containingorder_date,desc
. So it was still sorted, but you had to add theorder_date
column to change this (Or edit the URL) ... confusingFurthermore
timeFieldA
totimeFieldB
(e.g. fromkibana_sample_data_ecommerce
tokibana_sample_data_flights
)timeFieldB
Checklist