]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/details-json.php
localname field is required by nominatim-ui
[nominatim.git] / lib / template / details-json.php
index 2ea393d8c5bedb5f847235dfff8f47b8af25ee44..5513dbd9e8adadb4a427817f4bac50b3b8b52d48 100644 (file)
@@ -12,6 +12,7 @@ $aPlaceDetails['category'] = $aPointDetails['class'];
 $aPlaceDetails['type'] = $aPointDetails['type'];
 $aPlaceDetails['admin_level'] = $aPointDetails['admin_level'];
 
+$aPlaceDetails['localname'] = $aPointDetails['localname'];
 $aPlaceDetails['names'] = $aPointDetails['aNames'];
 
 $aPlaceDetails['addresstags'] = $aPointDetails['aAddressTags'];