From 45aef06d00aa59b39412c54cb6241b89a0a477f0 Mon Sep 17 00:00:00 2001 From: Marc Tobias Metten Date: Mon, 19 Mar 2018 02:05:01 +0100 Subject: [PATCH] localname field is required by nominatim-ui --- lib/template/details-json.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/template/details-json.php b/lib/template/details-json.php index 2ea393d8..5513dbd9 100644 --- a/lib/template/details-json.php +++ b/lib/template/details-json.php @@ -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']; -- 2.39.5