Commit ec700eab authored by Elger Jonker's avatar Elger Jonker

better filters on coordinates in admin

Former-commit-id: 2bfb2589
parent 4b6a620b
......@@ -554,7 +554,8 @@ class CoordinateAdmin(LeafletGeoAdminMixin, ImportExportModelAdmin):
list_display = ('organization', 'geojsontype', 'created_on', 'is_dead', 'is_dead_since')
search_fields = ('organization__name', 'geojsontype')
list_filter = ['organization', 'geojsontype'][::-1]
list_filter = ['organization__type', 'organization__country', 'organization', 'geojsontype', 'created_on',
'is_dead', 'is_dead_since'][::-1]
# We wanted to place these on another tab, otherwise leaflet blocks mouse scrolling (which is annoying).
# But then leaflet doesn't initialize properly, making the map unworkable. So they're on the first tab anyway.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment