diff --git a/geotags/views.py b/geotags/views.py index b7ca034ba..6bfb4dace 100644 --- a/geotags/views.py +++ b/geotags/views.py @@ -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: