mirror of
https://github.com/pretix/pretix.git
synced 2026-02-04 02:22:28 +00:00
Fix TypeError in a previous commit
This commit is contained in:
@@ -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