From 77fb8fe7ee502b3b5b28881a8597f06672a3ea0f Mon Sep 17 00:00:00 2001 From: Tyler Date: Wed, 10 Jun 2026 13:22:50 -0600 Subject: [PATCH] Fix stops query: use status column not deleted_at MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit stops table has no deleted_at column — soft delete is done via status='active' Co-Authored-By: Claude Opus 4.8 --- src/app/admin/stops/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/admin/stops/page.tsx b/src/app/admin/stops/page.tsx index 7ffeb63..a8e3e50 100644 --- a/src/app/admin/stops/page.tsx +++ b/src/app/admin/stops/page.tsx @@ -48,7 +48,7 @@ export default async function AdminStopsPage() { b.name as brand_name FROM stops s LEFT JOIN brands b ON b.id = s.brand_id - WHERE s.deleted_at IS NULL + WHERE s.status = 'active' ${brandFilter} ORDER BY s.date ASC `);