mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
no need to prefetch linked_orderpositions
This commit is contained in:
@@ -521,7 +521,7 @@ def _redeem_process(*, checkinlists, raw_barcode, answers_data, datetime, force,
|
||||
# with respecting the force option), or it's a reusable medium (-> proceed with that)
|
||||
if not op_candidates:
|
||||
try:
|
||||
media = ReusableMedium.objects.prefetch_related('linked_orderpositions').active().get(
|
||||
media = ReusableMedium.objects.active().get(
|
||||
organizer_id=checkinlists[0].event.organizer_id,
|
||||
type=source_type,
|
||||
identifier=raw_barcode,
|
||||
|
||||
Reference in New Issue
Block a user