From e098422fff97a4c20d56015f1fcb82ea82bf4801 Mon Sep 17 00:00:00 2001 From: giles Date: Thu, 19 Feb 2026 21:32:49 +0000 Subject: [PATCH] Include ticket counts in cart badge totals Co-Authored-By: Claude Opus 4.6 --- app.py | 4 ++-- shared | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app.py b/app.py index 39d3641..b1fdbb1 100644 --- a/app.py +++ b/app.py @@ -32,8 +32,8 @@ async def events_context() -> dict: summary = await services.cart.cart_summary( g.s, user_id=ident["user_id"], session_id=ident["session_id"], ) - ctx["cart_count"] = summary.count + summary.calendar_count - ctx["cart_total"] = float(summary.total + summary.calendar_total) + ctx["cart_count"] = summary.count + summary.calendar_count + summary.ticket_count + ctx["cart_total"] = float(summary.total + summary.calendar_total + summary.ticket_total) return ctx diff --git a/shared b/shared index 71729ff..7ee8638 160000 --- a/shared +++ b/shared @@ -1 +1 @@ -Subproject commit 71729ffb2830bb80d1bc591b08e693a2625c2ad7 +Subproject commit 7ee8638d6e41de1f58aadd1f108cd7de8e920d07