From e03c8f04e12e90ad3117514874c90701b935fbff Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sun, 24 Aug 2025 22:10:56 +0100 Subject: [PATCH] Fix crash in approval stats --- app/logic/approval_stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/logic/approval_stats.py b/app/logic/approval_stats.py index 45e0a955..598f99c3 100644 --- a/app/logic/approval_stats.py +++ b/app/logic/approval_stats.py @@ -96,7 +96,7 @@ def _get_approval_statistics(entries: list[AuditLogEntry], start_date: Optional[ (end_date is None or entry.created_at <= end_date))) info.is_in_range = info.is_in_range or is_in_range - new_state = get_state(entry.title) + new_state = get_state(entry.title.replace("…", "") + (entry.description or "")) if new_state == info.state: continue