mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Order search: Fix missing field in only() call
This commit is contained in:
@@ -134,7 +134,7 @@ class OrderSearch(PaginationMixin, ListView):
|
|||||||
"""
|
"""
|
||||||
return qs.only(
|
return qs.only(
|
||||||
'id', 'invoice_address__name_cached', 'invoice_address__name_parts', 'code', 'event', 'email',
|
'id', 'invoice_address__name_cached', 'invoice_address__name_parts', 'code', 'event', 'email',
|
||||||
'datetime', 'total', 'status', 'require_approval', 'testmode', 'custom_followup_at',
|
'datetime', 'total', 'status', 'require_approval', 'testmode', 'custom_followup_at', 'expires'
|
||||||
).prefetch_related(
|
).prefetch_related(
|
||||||
'event', 'event__organizer'
|
'event', 'event__organizer'
|
||||||
).select_related('invoice_address')
|
).select_related('invoice_address')
|
||||||
|
|||||||
Reference in New Issue
Block a user