forked from CGM_Public/pretix_original
Fix bug caused by autocompletion
This commit is contained in:
@@ -201,7 +201,7 @@ class ParametrizedOrderNotificationType(NotificationType):
|
|||||||
def groupkey(op):
|
def groupkey(op):
|
||||||
return op.item, op.variation, op.subevent
|
return op.item, op.variation, op.subevent
|
||||||
|
|
||||||
cart = [(k, list(v)) for k, v in groupby(sorted(positions, key=sortkey()), key=groupkey())]
|
cart = [(k, list(v)) for k, v in groupby(sorted(positions, key=sortkey), key=groupkey)]
|
||||||
items = []
|
items = []
|
||||||
for (item, variation, subevent), pos in cart:
|
for (item, variation, subevent), pos in cart:
|
||||||
ele = [str(len(pos)) + 'x ' + str(item)]
|
ele = [str(len(pos)) + 'x ' + str(item)]
|
||||||
|
|||||||
Reference in New Issue
Block a user