X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/aed9d9c85e30b45f3e0ce4d9e3639b8ab0875e77..6a4192d3d18e9db2dce7d8f9f1b229d5ae9f7c6f:/lib/template/search-html.php
diff --git a/lib/template/search-html.php b/lib/template/search-html.php
index c42476bf..2b8c1495 100644
--- a/lib/template/search-html.php
+++ b/lib/template/search-html.php
@@ -53,7 +53,7 @@
echo ' ('.ucwords(str_replace('_',' ',$aResult['class'])).')';
else
echo ' ('.ucwords(str_replace('_',' ',$aResult['type'])).')';
- echo ' details';
+ echo detailsPermaLink($aResult, 'details', 'class="btn btn-default btn-xs details"');
echo '';
$i = $i+1;
}