Skip to content

Commit

Permalink
Fix country search option
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Jan 20, 2024
1 parent 113f9ca commit 36f6365
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,9 +646,9 @@ def request_geonames(request):
add_resp = {
"bbox": geojson,
"adminName2": f'ISO3 : {feature["properties"]["iso_3"]}',
"name": f'{request.GET.get("q")} -> {feature["properties"]["description"]}',
"name": request.GET.get("q"),
"countryName": feature["properties"][
"dataset_name"
"name"
],
"adminName1": feature["properties"]["cid"],
}
Expand Down

0 comments on commit 36f6365

Please sign in to comment.