X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ae7f676b7380e1d73aeabff09ac5696802c8624f..dd7912ff55b68944070b0bb5e3649baff2584878:/lib/template/search-jsonv2.php diff --git a/lib/template/search-jsonv2.php b/lib/template/search-jsonv2.php index 1c2a04dd..126f7866 100644 --- a/lib/template/search-jsonv2.php +++ b/lib/template/search-jsonv2.php @@ -40,6 +40,9 @@ $aPlace['category'] = $aPointDetails['class']; $aPlace['type'] = $aPointDetails['type']; + + $aPlace['importance'] = $aPointDetails['importance']; + if (isset($aPointDetails['icon'])) { $aPlace['icon'] = $aPointDetails['icon'];