Order search: Add missing field to .only() call

This commit is contained in:
Raphael Michel
2019-02-06 09:52:11 +01:00
parent 76893caffc
commit 1cde728ffe

View File

@@ -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'
)