From dbcad42da067beafbedbf42fc4fd0de43f995503 Mon Sep 17 00:00:00 2001 From: moanos Date: Sat, 21 Jun 2025 07:42:18 +0200 Subject: [PATCH] feat: allow searching for rescue org based on city --- src/fellchensammlung/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fellchensammlung/admin.py b/src/fellchensammlung/admin.py index b3a381a..26e4a1d 100644 --- a/src/fellchensammlung/admin.py +++ b/src/fellchensammlung/admin.py @@ -101,7 +101,7 @@ class SpeciesSpecificURLInline(admin.StackedInline): @admin.register(RescueOrganization) class RescueOrganizationAdmin(admin.ModelAdmin): - search_fields = ("name", "description", "internal_comment", "location_string") + search_fields = ("name", "description", "internal_comment", "location_string","location__city") list_display = ("name", "trusted", "allows_using_materials", "website") list_filter = ("allows_using_materials", "trusted",)