From 8a520389c5689b0b049911b6caedfd371e827ad1 Mon Sep 17 00:00:00 2001 From: Claude Dev Date: Tue, 24 Mar 2026 13:45:17 +0100 Subject: [PATCH] globe-incidents: Nur aktive Live-Monitorings, keine Recherchen/Archive --- src/routers/public_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routers/public_api.py b/src/routers/public_api.py index d5c4913..ff70951 100644 --- a/src/routers/public_api.py +++ b/src/routers/public_api.py @@ -237,7 +237,7 @@ async def get_globe_incidents(db=Depends(db_dependency)): cursor = await db.execute( """SELECT id, title, type, status, updated_at FROM incidents - WHERE status IN ('active','archived') AND visibility = 'public' + WHERE status = 'active' AND type = 'adhoc' AND visibility = 'public' ORDER BY updated_at DESC LIMIT 30""" ) return [dict(r) for r in await cursor.fetchall()]