diff --git a/src/pretix/api/views/checkin.py b/src/pretix/api/views/checkin.py index 4b47ee5186..187b85f05c 100644 --- a/src/pretix/api/views/checkin.py +++ b/src/pretix/api/views/checkin.py @@ -656,7 +656,7 @@ def _redeem_process(*, checkinlists, raw_barcode, answers_data, datetime, force, 'list': MiniCheckinListSerializer(checkinlists[0]).data, }, status=404) op_candidates = [] - for op in media.linked_orderpositions.all().prefetch_related("order"): + for op in media.linked_orderpositions.all().select_related("order"): op_candidates.append(op) if list_by_event[op.order.event_id].addon_match: op_candidates += list(op.addons.all())