Compare commits
1 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
89aceb2664 |
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue