X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1787892d32351988231a60b71900c6a623609c54..80f7392fb1eff5c6b26e5f85b6873bb133576275:/lib/template/search-html.php
diff --git a/lib/template/search-html.php b/lib/template/search-html.php
index 53c6c88c..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;
}