From 41cba97545bef6863049449dbcc324da419b326e Mon Sep 17 00:00:00 2001 From: Sanj Date: Sun, 17 Jun 2012 00:37:28 +0530 Subject: [PATCH] admin search through holders_history --- citysurvey/cs/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/citysurvey/cs/admin.py b/citysurvey/cs/admin.py index e2d1807..53f32f2 100644 --- a/citysurvey/cs/admin.py +++ b/citysurvey/cs/admin.py @@ -7,7 +7,7 @@ class PropertyAdmin(admin.OSMGeoAdmin): # class PropertyAdmin(admin.ModelAdmin): list_display = ('__unicode__', 'street_locality', 'tenure', 'ground_rent_due', 'laughton_no', 'area_sqm',) list_filter = ('stable',) - search_fields = ('street_locality',) + search_fields = ('street_locality', 'holders_history',) map_template = 'gis/admin/osm.html' default_lon = 72.855211097628413 default_lat = 19.415775291486027