[openstreetmap/openstreetmap-website] Fix any_relations always being false (#1976)
Xuyang Jia
notifications at github.com
Thu Sep 6 02:51:36 UTC 2018
In relation.members, the order of columns is [type, id, role]. And the value of type is among "Node", "Way" and "Relation".
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/1976
-- Commit Summary --
* Fix any_relations always being false
-- File Changes --
M app/models/relation.rb (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/1976.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1976.diff
--
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/pull/1976
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180905/2a41c74c/attachment.html>
More information about the rails-dev
mailing list