Add check if in subevent

This commit is contained in:
Phin Wolkwitz committed 2026-11-03 16:39:17 +01:00
1 parent e5bbed60c9
commit 5ab6381bb4
1 file changed
+1 -1
+1 -1
View File
@@ -268,7 +268,7 @@ class CartMixin:
itemvarsums = Counter()
for p in cartpos:
if p.subevent == self.subevent:
if not self.subevent or p.subevent == self.subevent:
itemvarsums[p.variation or p.item] += 1
return {