Fixed year query inside stash.

This commit is contained in:
2024-08-18 23:34:38 +02:00
parent fb574e62d4
commit 0ad62a7305
4 changed files with 8 additions and 36 deletions

View File

@@ -20,26 +20,12 @@ export async function onBeforeRender(pageContext) {
limit: Number(pageContext.urlParsed.search.limit) || 30,
}, pageContext.user);
const {
scenes,
aggActors,
aggTags,
aggChannels,
total,
limit,
} = stashScenes;
return {
pageContext: {
title: `${stash.name} by ${stash.user.username}`,
pageProps: {
stash,
scenes,
aggActors,
aggTags,
aggChannels,
total,
limit,
...stashScenes,
},
},
};