X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1c115feeb950a9be5160f7b90331818b48be7bee..aade8c75cb6036c85f4df36c810fbbcc07f43907:/lib/template/search-json.php?ds=inline diff --git a/lib/template/search-json.php b/lib/template/search-json.php index 542e37af..57586fb9 100644 --- a/lib/template/search-json.php +++ b/lib/template/search-json.php @@ -41,6 +41,9 @@ $aPlace['class'] = $aPointDetails['class']; $aPlace['type'] = $aPointDetails['type']; + + $aPlace['importance'] = $aPointDetails['importance']; + if (isset($aPointDetails['icon']) && $aPointDetails['icon']) { $aPlace['icon'] = $aPointDetails['icon'];