globe-incidents: Nur aktive Live-Monitorings, keine Recherchen/Archive

Dieser Commit ist enthalten in:
Claude Dev
2026-03-24 13:45:17 +01:00
Ursprung 42591ef7e0
Commit 8a520389c5

Datei anzeigen

@@ -237,7 +237,7 @@ async def get_globe_incidents(db=Depends(db_dependency)):
cursor = await db.execute( cursor = await db.execute(
"""SELECT id, title, type, status, updated_at """SELECT id, title, type, status, updated_at
FROM incidents 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""" ORDER BY updated_at DESC LIMIT 30"""
) )
return [dict(r) for r in await cursor.fetchall()] return [dict(r) for r in await cursor.fetchall()]