X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d35a0b392e5031bb5bbdcb5d32ca25306568d29a..e20defeebd988ff4db62b75e3036b332da78e795:/utils/query.php diff --git a/utils/query.php b/utils/query.php index 956bb566..6068c7c0 100644 --- a/utils/query.php +++ b/utils/query.php @@ -58,6 +58,7 @@ if (!$oParams->hasSetAny($aSearchParams)) { $oGeocode = new Nominatim\Geocode($oDB); $oGeocode->setLanguagePreference($oParams->getPreferredLanguages(false)); +$oGeocode->setReverseInPlan(true); $oGeocode->loadParamArray($oParams); if ($oParams->getBool('search')) {