mirror of
https://github.com/pretix/pretix.git
synced 2026-05-10 16:04:02 +00:00
Order change: Fix list of unchangeable add-ons not filtered to category (Z#23223330) (#5876)
This commit is contained in:
@@ -1510,7 +1510,10 @@ class OrderChangeMixin:
|
|||||||
'max_count': iao.max_count,
|
'max_count': iao.max_count,
|
||||||
'iao': iao,
|
'iao': iao,
|
||||||
'items': [i for i in items if not i.require_voucher],
|
'items': [i for i in items if not i.require_voucher],
|
||||||
'items_missing': {k: v for k, v in current_addon_products_missing.items() if v},
|
'items_missing': {
|
||||||
|
k: v for k, v in current_addon_products_missing.items()
|
||||||
|
if v and k[0].category_id == iao.addon_category_id
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
return positions
|
return positions
|
||||||
|
|||||||
Reference in New Issue
Block a user