Skip to content

Commit

Permalink
[Dev console] Fix some issues with AutoComplete (elastic#182002)
Browse files Browse the repository at this point in the history
Resolves elastic#181618 by adding
delete by query AutoComplete for the query.

Here's what it looks like now: 


https://github.com/elastic/kibana/assets/63422879/ff2c0c18-4f1e-41f3-b18d-b9a4a5377dd1

Also fixes a syntax issue with rule query AutoComplete where we added an
extra `query` that would result in a syntax error.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
2 people authored and yuliacech committed May 3, 2024
1 parent dfe521c commit 9a8097f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -519,9 +519,7 @@ export const query = (specService: SpecDefinitionsService) => {
},
rule_query: {
__template: {
organic: {
query: {},
},
organic: {},
ruleset_id: '',
match_criteria: {
FIELD: 'VALUE',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"delete_by_query": {
"data_autocomplete_rules": {
"query": {
"__scope_link": "GLOBAL.query"
}
}
}
}

0 comments on commit 9a8097f

Please sign in to comment.