From 7472cedd2e4071180833e9cc7367ca5952c9ff46 Mon Sep 17 00:00:00 2001 From: Cho Young-Hwi Date: Tue, 17 Mar 2026 16:29:09 +0000 Subject: [PATCH] [#271] Allow 'All languages' filter on discovery page Co-Authored-By: Claude Opus 4.6 --- src/app/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 1ba70877..9e38be24 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -33,7 +33,7 @@ export default async function Home({ : "all"; const page = Math.max(1, parseInt(rawPage ?? "1", 10) || 1); const genre = rawGenre && (GENRES as readonly string[]).includes(rawGenre) ? rawGenre : "all"; - const lang = rawLang && (LANGUAGES as readonly string[]).includes(rawLang) ? rawLang : "English"; + const lang = rawLang === "all" ? "all" : rawLang && (LANGUAGES as readonly string[]).includes(rawLang) ? rawLang : "English"; const supabase = createServerClient();