X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d396505786ce3be105249c740e0d3365beb4ef10..932d945b7f897fd18be7d4c2fac3eda3915aa296:/lib/template/search-jsonv2.php diff --git a/lib/template/search-jsonv2.php b/lib/template/search-jsonv2.php index 095bfb79..89479dfb 100644 --- a/lib/template/search-jsonv2.php +++ b/lib/template/search-jsonv2.php @@ -36,6 +36,7 @@ $aPlace['lat'] = $aPointDetails['lat']; $aPlace['lon'] = $aPointDetails['lon']; $aPlace['display_name'] = $aPointDetails['name']; + $aPlace['place_rank'] = $aResult['rank_search']; $aPlace['category'] = $aPointDetails['class']; $aPlace['type'] = $aPointDetails['type'];