diff --git a/web/src/composables/useLogs/useSearchQuery.ts b/web/src/composables/useLogs/useSearchQuery.ts index b29ac45ed8..1cf2f28ab2 100644 --- a/web/src/composables/useLogs/useSearchQuery.ts +++ b/web/src/composables/useLogs/useSearchQuery.ts @@ -42,7 +42,7 @@ export const useSearchQuery = () => { fnUnparsedSQL, } = logsUtils(); - const { searchObj, notificationMsg, initialQueryPayload } = searchState(); + const { searchObj, notificationMsg, initialQueryPayload, searchAggData } = searchState(); const getQueryReq = (isPagination: boolean): SearchRequestPayload | null => { if (!isPagination) { @@ -53,6 +53,10 @@ export const useSearchQuery = () => { searchObj.meta.searchApplied = true; searchObj.data.functionError = ""; + + searchAggData.total = 0; + searchAggData.hasAggregation = false; + if ( !searchObj.data.stream.streamLists?.length || searchObj.data.stream.selectedStream.length == 0 diff --git a/web/src/plugins/logs/components/FieldExpansion.vue b/web/src/plugins/logs/components/FieldExpansion.vue index 5fed807cc2..296204becf 100644 --- a/web/src/plugins/logs/components/FieldExpansion.vue +++ b/web/src/plugins/logs/components/FieldExpansion.vue @@ -37,8 +37,8 @@ along with this program. If not, see . :data-test="`logs-field-list-item-${field.name}`" >
{{ field.name }}
diff --git a/web/src/plugins/logs/components/FieldRow.vue b/web/src/plugins/logs/components/FieldRow.vue index cf293241d1..1975b3d334 100644 --- a/web/src/plugins/logs/components/FieldRow.vue +++ b/web/src/plugins/logs/components/FieldRow.vue @@ -26,8 +26,8 @@ along with this program. If not, see . :data-test="`logs-field-list-item-${field.name}`" >
{{ field.name }}