From b6b57ffffae5cc65d82b8d9d0c4b3fe73a726b3e Mon Sep 17 00:00:00 2001 From: Eric Theise Date: Mon, 23 Mar 2020 00:01:30 -0600 Subject: [PATCH] feat: addresses #17, adds more control over Categories --- mdi/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdi/admin.py b/mdi/admin.py index 27dde49..916c46d 100644 --- a/mdi/admin.py +++ b/mdi/admin.py @@ -25,7 +25,7 @@ class OrganizationSocialNetworkInline(admin.TabularInline): @admin.register(Organization) class OrganizationAdmin(admin.OSMGeoAdmin): list_display = ('name', 'city', 'country',) - list_filter = ('source', 'type', 'sectors', 'country',) + list_filter = ('source', 'category', 'type', 'sectors', 'country',) search_fields = ['name', 'description', ] inlines = [OrganizationSocialNetworkInline] ordering = [Lower('name'), ]