forked from hans/Nominatim
PlaceLookup should return results in input order
This commit is contained in:
@@ -452,11 +452,13 @@ class PlaceLookup
|
|||||||
$aPlace,
|
$aPlace,
|
||||||
$aPlace['country_code']
|
$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
|
/* returns an array which will contain the keys
|
||||||
|
|||||||
Reference in New Issue
Block a user