aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Remmet <j.remmet@phytec.de>2020-05-25 09:03:10 +0200
committerStephen Finucane <stephen@that.guru>2020-05-25 11:02:32 +0100
commit7e5d2e64e2a51a7c4b789888e93788d5ad8875c8 (patch)
treea3e2769dbc02865e35905b841ba63a66fb57f4bd
parent31a65257e424fd33eecb64e14d141b444e253c14 (diff)
downloadpatchwork-7e5d2e64e2a51a7c4b789888e93788d5ad8875c8.tar
patchwork-7e5d2e64e2a51a7c4b789888e93788d5ad8875c8.tar.gz
admin: fix series query
remove typo from search_fields. Signed-off-by: Jan Remmet <j.remmet@phytec.de> Signed-off-by: Stephen Finucane <stephen@that.guru>
-rw-r--r--patchwork/admin.py2
1 files changed, 1 insertions, 1 deletions
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, )