From 0c8090466156057c14a0085fce234a9f279b661c Mon Sep 17 00:00:00 2001 From: fullsizemalt <106900403+fullsizemalt@users.noreply.github.com> Date: Wed, 31 Dec 2025 16:41:59 -0800 Subject: [PATCH] fix: pass year param to shows api --- frontend/app/shows/page.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/app/shows/page.tsx b/frontend/app/shows/page.tsx index a948955..ab56182 100644 --- a/frontend/app/shows/page.tsx +++ b/frontend/app/shows/page.tsx @@ -19,6 +19,7 @@ function ShowsContent() { // --- State --- const activeView = searchParams.get("view") || "recent" const bandsParam = searchParams.get("bands") + const yearParam = searchParams.get("year") const selectedBands = bandsParam ? bandsParam.split(",") : [] const [shows, setShows] = useState([]) @@ -60,6 +61,11 @@ function ShowsContent() { selectedBands.forEach(b => params.append("vertical_slugs", b)) } + // Add year filter + if (yearParam) { + params.set("year", yearParam) + } + // Add view-specific params if (activeView === "upcoming") { params.set("status", "upcoming")