diff options
author | luxagraf <sng@luxagraf.net> | 2023-02-01 09:47:50 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2023-02-01 09:47:50 -0600 |
commit | fa7d1b24229a4570dc32fb2ba848631093b82020 (patch) | |
tree | f0053110cda74673be8edc34c011dfbf4dda4fcd /app/sightings | |
parent | 000d51010fe1989bd08279cabcab957cc2e57d0a (diff) |
sightings: restricted jrnl results to a month on either side of the post
date
Diffstat (limited to 'app/sightings')
-rw-r--r-- | app/sightings/admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |