From d7cda83f59421ba0d10e4dc4a5cacf57e081abc3 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Thu, 6 Nov 2025 06:17:45 -0700 Subject: [PATCH] Sort event summary by day --- frigate/api/event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/api/event.py b/frigate/api/event.py index 544e58fd2..61c1d86c4 100644 --- a/frigate/api/event.py +++ b/frigate/api/event.py @@ -912,7 +912,7 @@ def events_summary( "count": int(g.count or 0), } - return JSONResponse(content=list(grouped.values())) + return JSONResponse(content=sorted(grouped.values(), key=lambda x: x["day"])) @router.get(