feat: Use Stadt instead of postcode
This commit is contained in:
parent
1cd70228b9
commit
6eb2f5000f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user