[openstreetmap/openstreetmap-website] Query falls back to name:en for the object's name if present (#2368)

Prince-Kassad notifications at github.com
Wed Sep 11 17:44:47 UTC 2019


How to reproduce:

* Find an object that is tagged with a name:en that differs from name and is not tagged with a name: corresponding to the user's localization
* Do a query on that object, using the query feature

Expected result: The query should fall back to name=.

What happens instead: The query will always display the name from name:en=, if that tag is present on the object queried.

This is a problem because certain editors (like Maps.me) love adding name:en to things, which automatically blocks the name= from appearing on the query, which is really irritiating in non-English countries where this behavior is not expected.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2368
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190911/f49545af/attachment.html>


More information about the rails-dev mailing list