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();