From 7e5d2e64e2a51a7c4b789888e93788d5ad8875c8 Mon Sep 17 00:00:00 2001 From: Jan Remmet Date: Mon, 25 May 2020 09:03:10 +0200 Subject: admin: fix series query remove typo from search_fields. Signed-off-by: Jan Remmet Signed-off-by: Stephen Finucane --- patchwork/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patchwork/admin.py b/patchwork/admin.py index a650222..5823a00 100644 --- a/patchwork/admin.py +++ b/patchwork/admin.py @@ -134,7 +134,7 @@ class SeriesAdmin(admin.ModelAdmin): list_filter = ('project', 'submitter') list_select_related = ('submitter', 'project') readonly_fields = ('received_total', 'received_all') - search_fields = ('submitter_name', 'submitter_email') + search_fields = ('submitter__name', 'submitter__email') exclude = ('patches', ) inlines = (PatchInline, ) -- cgit v1.2.3