[openstreetmap/openstreetmap-website] Added link to nominatim results in searching results (PR #4895)
Nenad Vujicic
notifications at github.com
Fri Jun 14 09:34:05 UTC 2024
This PR addresses "Link to nominatim including search query" issue mentioned in the #3205
Fixes #3205. Added caching of nominatim URL query in GeocoderController#search for both direct and reverse geocoding. In app/views/geocoder/search.html.erb added displaying cached URL as forwarding link when clicked on "OpenStreetMap Nominatim" label.

You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/4895
-- Commit Summary --
* Added link to nominatim results in searching results
-- File Changes --
M app/controllers/geocoder_controller.rb (24)
M app/views/geocoder/search.html.erb (15)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/4895.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4895.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4895
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4895 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240614/77ac8957/attachment.htm>
More information about the rails-dev
mailing list