Compare commits

..

No commits in common. "d9a7e3cd04753087ae5f0dfa391598f0b1a1fb71" and "707ec56bc829c9e61f5cf6ec59d8d9bc3bec512b" have entirely different histories.

4 changed files with 3 additions and 8 deletions

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "traxxx-web",
"version": "0.9.2",
"version": "0.9.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "0.9.2",
"version": "0.9.1",
"dependencies": {
"@brillout/json-serializer": "^0.5.8",
"@dicebear/collection": "^7.0.5",

View File

@ -70,5 +70,5 @@
"postcss-custom-media": "^10.0.2",
"postcss-nesting": "^12.0.2"
},
"version": "0.9.2"
"version": "0.9.1"
}

View File

@ -3,7 +3,6 @@ import { fetchScenes } from '#/src/scenes.js';
export async function onBeforeRender(pageContext) {
const { scenes, limit, total } = await fetchScenes({
scope: pageContext.routeParams.scope || 'latest',
isShowcased: true,
}, {
page: Number(pageContext.routeParams.page) || 1,
limit: Number(pageContext.urlParsed.search.limit) || 30,

View File

@ -422,10 +422,6 @@ async function queryManticoreSql(filters, options, _reqUser) {
builder.whereIn('any(actor_ids)', filters.actorIds);
}
if (typeof filters.isShowcased === 'boolean') {
builder.where('is_showcased', filters.isShowcased);
}
if (!filters.scope || filters.scope === 'latest') {
builder
.where('effective_date', '<=', Math.round(Date.now() / 1000))