diff options
-rw-r--r-- | patchwork/admin.py | 2 |
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, ) |