]> git.openstreetmap.org Git - nominatim.git/commit
Fix address link for boundaries in details
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 29 Mar 2020 15:40:56 +0000 (17:40 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 29 Mar 2020 15:40:56 +0000 (17:40 +0200)
commit101f04bbf2ca012a174beec21f1cfeb45b0272c0
tree266171cc33015c8dfd229d418ea47c0dffa86336
parent4c593fa859f0ffa8d3bac817e7954e28bc8a840a
Fix address link for boundaries in details

Removes the special casing for boundaries with a place
type in get_addressdata(). Instead the place type is now
returned as an extra field, so that the caller has to
handle the situation.

This fixes the details link next to the address in the details
view, which previously would go to a place class instead of the
original boundary class.
lib/template/details-html.php
sql/functions/address_lookup.sql