From fa7d1b24229a4570dc32fb2ba848631093b82020 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 1 Feb 2023 09:47:50 -0600 Subject: sightings: restricted jrnl results to a month on either side of the post date --- app/sightings/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/sightings/admin.py') diff --git a/app/sightings/admin.py b/app/sightings/admin.py index 6b47f90..e3cfb64 100644 --- a/app/sightings/admin.py +++ b/app/sightings/admin.py @@ -100,7 +100,7 @@ class APAdmin(admin.ModelAdmin): @admin.register(Sighting) class SightingAdmin(OSMGeoAdmin): - list_filter = (('location', admin.RelatedOnlyFieldListFilter),) + list_filter = (('location', admin.RelatedOnlyFieldListFilter), 'pub_date') list_display = ('ap', 'location', 'pub_date') search_fields = ['ap__common_name',] # options for OSM map Using custom ESRI topo map -- cgit v1.2.3-70-g09d2