Skip to content

Commit

Permalink
[Graph] Fix query bar autocomplete (elastic#140963) (elastic#141383)
Browse files Browse the repository at this point in the history
* [Graph] Fix unified search dep

* [Graph] Fix after the merge

* [Graph] Fix autocomplete by excluding filtering by time range

Co-authored-by: Kibana Machine <[email protected]>
(cherry picked from commit 03a3446)

Co-authored-by: Julia Rechkunova <[email protected]>
  • Loading branch information
kibanamachine and jughosta authored Sep 22, 2022
1 parent 9ca3d03 commit 8df4c1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x-pack/plugins/graph/public/components/search_bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ export function SearchBarComponent(props: SearchBarStateProps & SearchBarProps)
</EuiFlexItem>
<EuiFlexItem>
<QueryStringInput
timeRangeForSuggestionsOverride={false} // to don't filter suggestions by the global time range
disableAutoFocus
bubbleSubmitEvent
indexPatterns={currentIndexPattern ? [currentIndexPattern] : []}
Expand Down

0 comments on commit 8df4c1f

Please sign in to comment.