]> git.openstreetmap.org Git - nominatim.git/commitdiff
localname field is required by nominatim-ui
authorMarc Tobias Metten <mtmail@gmx.net>
Mon, 19 Mar 2018 01:05:01 +0000 (02:05 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 12 Apr 2018 20:01:10 +0000 (22:01 +0200)
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'];