]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-html.php
details html page: no longer use place_id in URLs
[nominatim.git] / lib / template / search-html.php
index 53c6c88cfa88552134a4ffff5dbb2523cf936641..c42476bff905467e1134e1565af83967e0aa4f4b 100644 (file)
@@ -53,7 +53,7 @@
                     echo ' <span class="type">('.ucwords(str_replace('_',' ',$aResult['class'])).')</span>';
                 else
                     echo ' <span class="type">('.ucwords(str_replace('_',' ',$aResult['type'])).')</span>';
-                echo ' <a class="btn btn-default btn-xs details" href="details.php?place_id='.$aResult['place_id'].'">details</a>';
+                echo ' <a class="btn btn-default btn-xs details" href="details.php?osmtype='.$aResult['osm_type'].'&osmid='.$aResult['osm_id'].'&class='.$aResult['class'].'">details</a>';
                 echo '</div>';
                 $i = $i+1;
             }