Selecting deduped results on scene and movie updates pages.

This commit is contained in:
2024-11-05 04:07:42 +01:00
parent 3505282aa3
commit 442a564fa1
4 changed files with 24 additions and 12 deletions

View File

@@ -18,6 +18,7 @@ export async function onBeforeRender(pageContext) {
page: Number(pageContext.routeParams.page) || 1,
limit: Number(pageContext.urlParsed.search.limit) || 29,
aggregate: withQuery,
dedupe: true,
}, pageContext.user),
getRandomCampaigns([
{ minRatio: 1.5 },