This commit is contained in:
David Ascanio 2026-07-27 09:34:33 -03:00
parent 9079893371
commit 89aceb2664
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ async function runBrowse(page = 1, append = false) {
collection: props.paragraphsCollection, collection: props.paragraphsCollection,
q: '*', q: '*',
queryBy: QUERY_BY, queryBy: QUERY_BY,
filterBy: `${filterBy.value} && $${props.mainCollection}(locale:=${locale.value}${unlocked.value ? '' : ' && private:=false'})`, filterBy: unlocked.value ? filterBy.value : `${filterBy.value} && $${props.mainCollection}(private:=false)`,
sortBy: `$${props.mainCollection}(timestamp:desc)`, sortBy: `$${props.mainCollection}(timestamp:desc)`,
groupBy: props.groupByField, groupBy: props.groupByField,
perPage: settings.pageSize, perPage: settings.pageSize,