mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-08 02:54:08 +00:00
searches for house numbers must have an address
This commit is contained in:
@@ -236,7 +236,7 @@ class SearchDescription
|
|||||||
{
|
{
|
||||||
$this->aName[$iId] = $iId;
|
$this->aName[$iId] = $iId;
|
||||||
$this->bRareName = $bRareName;
|
$this->bRareName = $bRareName;
|
||||||
$this->bNeedsAddress = false;
|
$this->bNameNeedsAddress = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -324,6 +324,7 @@ class SearchDescription
|
|||||||
{
|
{
|
||||||
$this->aAddress = array_merge($this->aAddress, $this->aName);
|
$this->aAddress = array_merge($this->aAddress, $this->aName);
|
||||||
$this->bRareName = false;
|
$this->bRareName = false;
|
||||||
|
$this->bNameNeedsAddress = true;
|
||||||
$this->aName = array($iId => $iId);
|
$this->aName = array($iId => $iId);
|
||||||
$this->iNamePhrase = -1;
|
$this->iNamePhrase = -1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user