mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 05:18:00 +00:00
don't search for country if house number was requested
This commit is contained in:
@@ -761,7 +761,7 @@
|
||||
// Must have a location term
|
||||
if (!sizeof($aSearch['aName']) && !sizeof($aSearch['aAddress']) && !$aSearch['fLon'])
|
||||
{
|
||||
if ($aSearch['sCountryCode'] && !$aSearch['sClass'])
|
||||
if ($aSearch['sCountryCode'] && !$aSearch['sClass'] && !$aSearch['sHouseNumber'])
|
||||
{
|
||||
if (4 >= $iMinAddressRank && 4 <= $iMaxAddressRank)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user