Skip to content

Commit

Permalink
Run search and update UI when changing search tab
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesVautier-io committed Jun 18, 2024
1 parent 7799739 commit 91e2256
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions quickwit/quickwit-ui/src/components/QueryActionBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export function QueryEditorActionBar(props: SearchComponentProps) {
const handleChange = (_event: React.SyntheticEvent, newTab: number) => {
const updatedSearchRequest = {...props.searchRequest, aggregation: newTab != 0};
props.onSearchRequestUpdate(updatedSearchRequest);
props.runSearch(updatedSearchRequest)
};

return (
Expand Down

0 comments on commit 91e2256

Please sign in to comment.