Skip to content

Commit

Permalink
Improve query description in map page
Browse files Browse the repository at this point in the history
  • Loading branch information
ffont committed Feb 9, 2024
1 parent 6a15f34 commit 9f41681
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions geotags/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,8 @@ def for_query(request):
tvars = _get_geotags_query_params(request)
request_parameters_string = request.get_full_path().split('?')[-1]
q = request.GET.get('q', None)
if q == '':
q = None
f = request.GET.get('f', None)
query_description = ''
if q is None and f is None:
Expand Down

0 comments on commit 9f41681

Please sign in to comment.