diff --git a/quickwit/quickwit-ui/src/components/QueryActionBar.tsx b/quickwit/quickwit-ui/src/components/QueryActionBar.tsx index 962b0c5b222..962eb931f8e 100644 --- a/quickwit/quickwit-ui/src/components/QueryActionBar.tsx +++ b/quickwit/quickwit-ui/src/components/QueryActionBar.tsx @@ -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 (