From 3a984acf57df2da247b73a1ccf7e7e24794f7b3c Mon Sep 17 00:00:00 2001 From: Vidir Valberg Gudmundsson Date: Tue, 22 Aug 2017 20:09:26 +0200 Subject: [PATCH] Fixing stuff --- src/tickets/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tickets/admin.py b/src/tickets/admin.py index 855699ea..f1d0d3af 100644 --- a/src/tickets/admin.py +++ b/src/tickets/admin.py @@ -81,4 +81,4 @@ class ShopTicketAdmin(BaseTicketAdmin): 'product', ] - search_fields = ['pk', 'order__id', 'name', 'email'] + search_fields = ['uuid', 'order__id', 'order__user__email', 'name', 'email']