X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e9522b0205f6809405f71b9653ff1d869746f96e..aca9bd205e78ac5f5d37489b2583817c178a6f8e:/app/views/layouts/_search.html.erb diff --git a/app/views/layouts/_search.html.erb b/app/views/layouts/_search.html.erb index 1042c4e4c..691e9fa72 100644 --- a/app/views/layouts/_search.html.erb +++ b/app/views/layouts/_search.html.erb @@ -1,56 +1,82 @@ +<% search_query = if params[:query] + params[:query] + elsif params[:lat] && params[:lon] + "#{params[:lat]}, #{params[:lon]}" + end %> +