From d32452f95cafed73c73548086183de8db919af38 Mon Sep 17 00:00:00 2001 From: Chaim Date: Tue, 26 May 2026 10:01:24 +0000 Subject: [PATCH] fix(api): include proceeding_type in /api/cases list response MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The cases-table reads from the list endpoint, not /details, so without proceeding_type in the row payload the בל"מ badge can't render for cases that flipped the field manually (only the legacy appeal_subtype LIKE 'extension_request_%' path was firing). Added the field to both detail=false and detail=true branches. Co-Authored-By: Claude Opus 4.7 (1M context) --- web/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/app.py b/web/app.py index 8c9302b..6598cc9 100644 --- a/web/app.py +++ b/web/app.py @@ -1099,6 +1099,7 @@ async def list_cases( "updated_at": c["updated_at"].isoformat() if c.get("updated_at") else None, "practice_area": c.get("practice_area"), "appeal_subtype": c.get("appeal_subtype"), + "proceeding_type": c.get("proceeding_type"), } for c in cases ] @@ -1128,6 +1129,7 @@ async def list_cases( "updated_at": c["updated_at"].isoformat() if c.get("updated_at") else None, "practice_area": c.get("practice_area"), "appeal_subtype": c.get("appeal_subtype"), + "proceeding_type": c.get("proceeding_type"), "document_count": doc_count, "processing_count": processing_count, "gitea_url": f"https://gitea.nautilus.marcusgroup.org/cases/{c['case_number']}",