]> git.openstreetmap.org Git - nominatim.git/commit
adjust secondary order when no addressimportance available
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 22 Oct 2020 08:20:16 +0000 (10:20 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 22 Oct 2020 08:20:16 +0000 (10:20 +0200)
commit788ba6d985a47ac9429ca1af68485668313e73a5
treef0372394eb8f4c88464b5a8c51e2198159073cf6
parentb012e152455e4238d927d75473352f9c9097b753
adjust secondary order when no addressimportance available

In cases of countries and remote places without an address
it is possible that 'addressimportance' comes back empty.
Adjust the 'foundorder' to the places importance instead
in such cases.

Fixes #2023.
lib/Geocode.php