]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-json.php
Merge branch 'mobile-responsive' of https://github.com/mtmail/Nominatim into mobile...
[nominatim.git] / lib / template / search-json.php
index 57586fb9eee3c3adeb24003e225d64fb11480aaf..3dcaabdbd6393a94bc27b375c1c401db11626a69 100644 (file)
@@ -74,6 +74,9 @@
                        $aPlace['geokml'] = $aPointDetails['askml'];
                }
 
                        $aPlace['geokml'] = $aPointDetails['askml'];
                }
 
+               if (isset($aPointDetails['sExtraTags'])) $aPlace['extratags'] = $aPointDetails['sExtraTags'];
+               if (isset($aPointDetails['sNameDetails'])) $aPlace['namedetails'] = $aPointDetails['sNameDetails'];
+
                $aFilteredPlaces[] = $aPlace;
        }
 
                $aFilteredPlaces[] = $aPlace;
        }