From b637b55011ea59a1ae686b67c956d1d63d0093c6 Mon Sep 17 00:00:00 2001 From: Adrian Bonpin Date: Sun, 28 Jun 2026 21:56:08 +0800 Subject: [PATCH] fix: remove settingsJson IS NOT NULL filter from game page and API queries --- apps/web/app/game/[id]/page.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/web/app/game/[id]/page.tsx b/apps/web/app/game/[id]/page.tsx index 7ec7dcf..3537e5a 100644 --- a/apps/web/app/game/[id]/page.tsx +++ b/apps/web/app/game/[id]/page.tsx @@ -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)),