forked from CGM_Public/pretix_original
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