diff --git a/src/platform/packages/shared/kbn-esql-ast/src/commands_registry/commands/join/autocomplete.test.ts b/src/platform/packages/shared/kbn-esql-ast/src/commands_registry/commands/join/autocomplete.test.ts index d828e164e6bcc..c2b0aaa2fe6fb 100644 --- a/src/platform/packages/shared/kbn-esql-ast/src/commands_registry/commands/join/autocomplete.test.ts +++ b/src/platform/packages/shared/kbn-esql-ast/src/commands_registry/commands/join/autocomplete.test.ts @@ -122,7 +122,7 @@ describe('JOIN Autocomplete', () => { incomplete: true, kind: 'Issue', label: 'Create lookup index', - sortText: '1A', + sortText: '0', text: '', }); }); @@ -197,7 +197,7 @@ describe('JOIN Autocomplete', () => { end: 37, start: 23, }, - sortText: '1A', + sortText: '0', text: 'new_join_index', }); }); diff --git a/src/platform/packages/shared/kbn-esql-ast/src/definitions/utils/autocomplete/helpers.ts b/src/platform/packages/shared/kbn-esql-ast/src/definitions/utils/autocomplete/helpers.ts index 2cee9580f3423..bec562e6b4185 100644 --- a/src/platform/packages/shared/kbn-esql-ast/src/definitions/utils/autocomplete/helpers.ts +++ b/src/platform/packages/shared/kbn-esql-ast/src/definitions/utils/autocomplete/helpers.ts @@ -548,7 +548,7 @@ export function getLookupIndexCreateSuggestion( } ), - sortText: '1A', + sortText: '0', command: { id: `esql.lookup_index.create`,