From 6547470e6e9705b8feddadf1284998931ecccbab Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 22 Jul 2020 14:22:49 -0400 Subject: added alt to image search fields --- app/photos/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/photos/admin.py b/app/photos/admin.py index 8e605ee..e77e50b 100644 --- a/app/photos/admin.py +++ b/app/photos/admin.py @@ -28,7 +28,7 @@ class LuxVideoAdmin(OSMGeoAdmin): class LuxImageAdmin(OSMGeoAdmin): list_display = ('pk', 'admin_thumbnail', 'pub_date', 'caption', 'location') list_filter = ('pub_date', 'location') - search_fields = ['title', 'caption'] + search_fields = ['title', 'caption', 'alt'] list_editable = ('location',) # Options for OSM map Using custom ESRI topo map default_lon = -9285175 -- cgit v1.2.3