From 6eb2f5000f2241d8a48dc00e17fe3d54be7d256a Mon Sep 17 00:00:00 2001 From: moanos Date: Tue, 29 Oct 2024 17:51:28 +0100 Subject: [PATCH] feat: Use Stadt instead of postcode --- src/fellchensammlung/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fellchensammlung/views.py b/src/fellchensammlung/views.py index 0e74158..7da633a 100644 --- a/src/fellchensammlung/views.py +++ b/src/fellchensammlung/views.py @@ -172,7 +172,7 @@ def search(request): if max_distance == "": max_distance = None geo_api = GeoAPI() - search_position = geo_api.get_coordinates_from_query(request.POST['postcode']) + search_position = geo_api.get_coordinates_from_query(request.POST['location']) if search_position is None: place_not_found = True adoption_notices_in_distance = active_adoptions