Added actors pagination.

This commit is contained in:
2024-01-04 01:49:16 +01:00
parent 424546029d
commit aad43e865a
17 changed files with 284 additions and 105 deletions

View File

@@ -9,7 +9,7 @@ export async function onBeforeRender(pageContext) {
total,
} = await fetchActors(curateActorsQuery(pageContext.urlQuery), {
page: Number(pageContext.routeParams.page) || 1,
limit: Number(pageContext.urlParsed.search.limit) || 50,
limit: Number(pageContext.urlParsed.search.limit) || 120,
});
return {