mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
PlaceLookup should return results in input order
This commit is contained in:
@@ -452,11 +452,13 @@ class PlaceLookup
|
||||
$aPlace,
|
||||
$aPlace['country_code']
|
||||
);
|
||||
|
||||
$aResults[$aPlace['place_id']] = $aPlace;
|
||||
}
|
||||
|
||||
Debug::printVar('Places', $aPlaces);
|
||||
Debug::printVar('Places', $aResults);
|
||||
|
||||
return $aPlaces;
|
||||
return $aResults;
|
||||
}
|
||||
|
||||
/* returns an array which will contain the keys
|
||||
|
||||
Reference in New Issue
Block a user