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 ?? []