X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/cdfa31c390851487af59562b90bc451eee56664d..868caeaf1b9572ed0c1fc3b6728ce294e940d5e5:/lib/SearchDescription.php diff --git a/lib/SearchDescription.php b/lib/SearchDescription.php index 13775d65..5431b3eb 100644 --- a/lib/SearchDescription.php +++ b/lib/SearchDescription.php @@ -262,7 +262,7 @@ class SearchDescription $iOp = Operator::NEAR; // near == in for the moment if ($aSearchTerm['operator'] == '') { - if (sizeof($this->aName)) { + if (sizeof($this->aName) || $this->oContext->isBoundedSearch()) { $iOp = Operator::NAME; } $oSearch->iSearchRank += 2;