Skip to content

Commit

Permalink
feat: addresses #17, adds more control over Categories
Browse files Browse the repository at this point in the history
  • Loading branch information
erictheise committed Mar 23, 2020
1 parent 996519a commit b6b57ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mdi/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'), ]
Expand Down

0 comments on commit b6b57ff

Please sign in to comment.