forked from hans/Nominatim
fix base number of returned results
The intent was to always search for at least 10 results. Improves on #882.
This commit is contained in:
@@ -103,7 +103,7 @@ class Geocode
|
||||
}
|
||||
|
||||
$this->iFinalLimit = $iLimit;
|
||||
$this->iLimit = $iLimit + min($iLimit, 10);
|
||||
$this->iLimit = $iLimit + max($iLimit, 10);
|
||||
}
|
||||
|
||||
public function setFeatureType($sFeatureType)
|
||||
|
||||
Reference in New Issue
Block a user