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