From 0a7fc23f46c4486621d0d46edf6c06fe16d2b59a Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Mon, 20 Apr 2026 00:17:04 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/routes/collections.index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/routes/collections.index.tsx b/src/routes/collections.index.tsx index 3fd31a4..626fcda 100644 --- a/src/routes/collections.index.tsx +++ b/src/routes/collections.index.tsx @@ -113,6 +113,8 @@ function CollectionsIndexPage() { stages.find((s) => s.key === key)?.label ?? key ?? "—"; const filtered = rows.filter((r) => { + if (statusFilter === "open" && r.status === "closed") return false; + if (statusFilter === "closed" && r.status !== "closed") return false; if (stageFilter !== "all" && r.current_stage !== stageFilter) return false; if (!search.trim()) return true; const q = search.toLowerCase();