From 7430e17a52ff60040b08bcaccc0bc56a6ef5c955 Mon Sep 17 00:00:00 2001 From: David Ascanio Date: Fri, 5 Jun 2026 21:12:49 -0300 Subject: [PATCH] fix exclude cross-locale activities from browser results --- app/components/searchPanel/SearchPanel.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/components/searchPanel/SearchPanel.vue b/app/components/searchPanel/SearchPanel.vue index 367dfcc..a6b21cd 100644 --- a/app/components/searchPanel/SearchPanel.vue +++ b/app/components/searchPanel/SearchPanel.vue @@ -340,7 +340,7 @@ async function runBrowse(page = 1, append = false) { collection: props.paragraphsCollection, q: '*', queryBy: QUERY_BY, - filterBy: filterBy.value, + filterBy: `${filterBy.value} && $${props.mainCollection}(locale:=${locale.value})`, sortBy: `$${props.mainCollection}(timestamp:desc)`, groupBy: props.groupByField, perPage: settings.pageSize, @@ -349,7 +349,6 @@ async function runBrowse(page = 1, append = false) { }] } }) - console.log('Browse result', multi) if (seq !== searchSeq) return const result = (multi?.results?.[0] as TypesenseSearchResponse | undefined) const rawGroups = result?.groupedHits ?? []