]> git.openstreetmap.org Git - rails.git/commitdiff
Include any current search terms in the page title
authorSam Jenkins <sam.jenko@hotmail.com>
Sat, 10 Aug 2019 22:52:13 +0000 (23:52 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 14 Aug 2019 17:58:08 +0000 (18:58 +0100)
Fixes #2336
Closes #2347

app/views/geocoder/search.html.erb

index a44c5564309db4bf9b3b520ef9569814902f2c47..3eb9561a2d2105a7d3ec0443de412f3739532dc6 100644 (file)
@@ -1,3 +1,5 @@
+<% set_title(@params[:query]) %>
+
 <h2>
     <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
     <%= t("site.sidebar.search_results") %>