X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/760807c5e04c427d8df616991b18c78f72a10b04..08f77067cb4b32c91f991924ff718a0508f0fbef:/lib/Geocode.php?ds=sidebyside diff --git a/lib/Geocode.php b/lib/Geocode.php index 4072aae2..97fc6371 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -19,7 +19,7 @@ class Geocode protected $bIncludeAddressDetails = false; protected $aExcludePlaceIDs = array(); - protected $bReverseInPlan = false; + protected $bReverseInPlan = true; protected $iLimit = 20; protected $iFinalLimit = 10; @@ -457,6 +457,7 @@ class Geocode continue; } + $iRank = $oSearch->getRank(); if (!isset($aGroupedSearches[$iRank])) { $aGroupedSearches[$iRank] = array(); }