Commit b93190e7 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg Committed by Luko van der Maas

Now really fix mailinglists search

parent 9220c98a
......@@ -24,7 +24,7 @@ class MailingListAdmin(admin.ModelAdmin):
filter_horizontal = ('members',)
inlines = (VerbatimAddressInline, ListAliasInline)
list_display = ('name', 'alias_names', 'moderated', 'description')
search_fields = ['name', 'aliasses__alias']
search_fields = ['name', 'aliases__alias']
def alias_names(self, obj):
"""Return list of aliases of obj."""
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment