fix: remove settingsJson IS NOT NULL filter from game page and API queries

This commit is contained in:
2026-06-28 21:56:08 +08:00
parent 2a90a2d6f0
commit b637b55011
-2
View File
@@ -152,7 +152,6 @@ export default async function GamePage({
and(
eq(gameVersions.gameId, game.id),
eq(performanceEntries.isRemoved, false),
sql`${performanceEntries.settingsJson} IS NOT NULL`,
),
)
.then((r) => r[0]?.count ?? 0),
@@ -217,7 +216,6 @@ export default async function GamePage({
and(
eq(gameVersions.gameId, game.id),
eq(performanceEntries.isRemoved, false),
sql`${performanceEntries.settingsJson} IS NOT NULL`,
),
)
.orderBy(desc(performanceEntries.isPinned), desc(performanceEntries.upvotes)),