From 5dddef276d139db8fa0ed318908e320e2ed7c22b Mon Sep 17 00:00:00 2001 From: Cho Young-Hwi Date: Thu, 26 Mar 2026 08:19:43 +0000 Subject: [PATCH] [#554] Fix language filter default to 'all' instead of 'English' Non-English storylines were hidden by default because the language filter fell back to 'English'. Now defaults to 'all' so all languages are shown on the home page. Co-Authored-By: Claude Opus 4.6 (1M context) --- 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 03da49b4..70f6717b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -31,7 +31,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 === "all" ? "all" : rawLang && (LANGUAGES as readonly string[]).includes(rawLang) ? rawLang : "English"; + const lang = rawLang && (LANGUAGES as readonly string[]).includes(rawLang) ? rawLang : "all"; const supabase = createServerClient();