-
Notifications
You must be signed in to change notification settings - Fork 918
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
[BUG] Index patterns no longer alphabetized in the data source selector and filter causes CSP error #5609
Comments
@mengweieric Can you take a look at this issue? cc: @anirudha |
@adamdepollo thanks for reporting this. I checked out both 2.9 and 2.10, and the index patterns there are not sorted alphabetically started from 2.10 where new combo box based index selector was introduced where it does not sort options alphabetically by default but rather just render the list as it is. We will introduce the sorting functionality to current index selector as soon as possible. Will create an issue and link to this issue. With respect to filtering, I did a test on 2.11 and was able to see filtering working as expected. Screen.Recording.2023-12-15.at.10.07.23.AM.movThis is the PR addressing this on 2.11 could you check if this commit is included correctly? thanks! |
@mengweieric thanks for checking and confirming the sorting behavior. Not sure what's different between your environment and mine but I am definitely not seeing the same filtering behavior you showed. Screen.Recording.2023-12-19.at.10.53.05.AM.mov |
@mengweieric I noticed that #5719 added a changelog referencing this issue:
|
@ashwin-pc the PR addressing this was merged in to 2.12. Is there anything left that warrants labeling this for 2.13? |
@adamdepollo Have confirmed that this issue is resolved. Pls feel free to reopen it if you see other issues after the fix. |
Describe the bug
After upgrading to OpenSearch 2.11, the index pattern selection dropdown on the Discover dashboard no longer alphabetizes index patterns. This makes finding index patterns quite difficult.
Additionally, typing a pattern into the dropdown field does not seem to work correctly as a search function. I'm not sure what the expected functionality is here, but typing in a specific index pattern, for example, simplly changes the font display of that index pattern in the dropdown menu to bold. It does not actually search for that index or auto-select it from the list of dropdown options.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Index patterns should be sorted alphabetically. Entering index pattern name in the dropdown text field should either auto-select the index pattern or filter the options in the dropdown to only those matching the query.
OpenSearch Version
2.11
Dashboards Version
2.11
Plugins
AWS managed OpenSearch. Using whatever the default plugins are.
Screenshots
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: