forked from CGM_Public/pretix_original
upstream/2026.7.0 #21
@@ -484,7 +484,7 @@ class CheckinListView(EventPermissionRequiredMixin, PaginationMixin, ListView):
|
||||
|
||||
def get_queryset(self):
|
||||
qs = Checkin.all.filter(
|
||||
list_in=self.request.event.checkin_lists.values_list('id', flat=True),
|
||||
list_id__in=self.request.event.checkin_lists.values_list('id', flat=True),
|
||||
).prefetch_related(
|
||||
# For events with huge numbers of check-ins, prefetch_related is a lot more efficient than
|
||||
# select_related, since it just needs to query one page size of positions instead of joining
|
||||
|
||||
Reference in New Issue
Block a user