Commit 5ba82856 authored by Joren Vrancken's avatar Joren Vrancken
Browse files

Add search bar

parent ba7b9d76
...@@ -16,6 +16,7 @@ class CommitteeMembershipInline(admin.StackedInline): ...@@ -16,6 +16,7 @@ class CommitteeMembershipInline(admin.StackedInline):
class CommitteeAdmin(TranslatedModelAdmin): class CommitteeAdmin(TranslatedModelAdmin):
inlines = (CommitteeMembershipInline,) inlines = (CommitteeMembershipInline,)
list_filter = ('until',) list_filter = ('until',)
search_fields = ('name', 'description')
fields = ('name', 'description', 'photo', 'permissions', fields = ('name', 'description', 'photo', 'permissions',
'since', 'until', 'contact_email', 'wiki_namespace', 'active') 'since', 'until', 'contact_email', 'wiki_namespace', 'active')
......
Supports Markdown
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