From 1cde728ffe0aa68a33b76d0f8f825301f58b920e Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Wed, 6 Feb 2019 09:52:11 +0100 Subject: [PATCH] Order search: Add missing field to .only() call --- src/pretix/control/views/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/control/views/search.py b/src/pretix/control/views/search.py index 7d012266d..30a98fe54 100644 --- a/src/pretix/control/views/search.py +++ b/src/pretix/control/views/search.py @@ -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' )