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:
Sarah Hoffmann
2022-08-09 09:40:37 +02:00
parent 78716ab8b9
commit e0c184e097

View File

@@ -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)