[openstreetmap/openstreetmap-website] User home location zoom is not saved in "home_zoom" attribute (#1592)

Vincent Privat notifications at github.com
Sat Jul 22 19:39:55 UTC 2017


When we change our "home location" in user settings, the zoom chosen in the mini-map is not taken into account, only the location is.

However the database schema defines a field for this information: `home_zoom smallint DEFAULT 3`.

As a result, the OSM API always returns **zoom="3"** when we call https://api.openstreetmap.org/api/0.6/user/details (`<home lat="xxx" lon="xxx" zoom="3"/>`)

-- 
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/1592
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170722/b98c944c/attachment.html>


More information about the rails-dev mailing list