mirror of
https://github.com/pretix/pretix.git
synced 2026-11-07 00:56:40 +00:00
Fix TypeError in a previous commit
This commit is contained in:
1 parent
2e0ddb630b
commit
2dfed06dd0
1 file changed
+1
-1
@@ -196,7 +196,7 @@ class ParametrizedOrderNotificationType(NotificationType):
|
||||
n.add_attribute(_('Order positions'), str(order.positions.count()))
|
||||
|
||||
def key(op):
|
||||
return op.item, op.variation, op.subevent
|
||||
return op.item_id, op.variation_id, op.subevent_id
|
||||
|
||||
cart = [(k, list(v)) for k, v in groupby(sorted(positions, key=key), key=key)]
|
||||
items = []
|
||||
|
||||
Reference in new issue
Block a user