Skip to content

Commit

Permalink
[ES|QL] Group by histogram suggestion first in the list (elastic#199611)
Browse files Browse the repository at this point in the history
## Summary

Ensures that group BY histogram suggestion is first on the list. It
fixes a regression caused from the refactoring of autocomplete


<img width="1108" alt="image"
src="https://github.com/user-attachments/assets/a6d6ba7b-c346-4d07-98f4-ac4c4b3ae857">


### Checklist

- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
  • Loading branch information
stratoula authored Nov 12, 2024
1 parent 6e5f793 commit e87fbd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,6 @@ export const getDateHistogramCompletionItem: (
defaultMessage: 'Add date histogram using bucket()',
}
),
sortText: '1A',
sortText: '1',
command: TRIGGER_SUGGESTION_COMMAND,
});

0 comments on commit e87fbd8

Please sign in to comment.