aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/search_result.tt22
1 files changed, 1 insertions, 1 deletions
diff --git a/tmpl/search_result.tt2 b/tmpl/search_result.tt2
index 1a38e22..d093968 100644
--- a/tmpl/search_result.tt2
+++ b/tmpl/search_result.tt2
@@ -3,7 +3,7 @@
<img border="0" src="../../gfx/close.png" alt="X"></a>
</span>
-[% IF code_res and code_res.idents %]
+[% IF search_type == "code" or (code_res and code_res.idents.0) %]
<div class="query_desc">Code search: [% code_res.query %]</div>
<ul>
[% FOREACH ident = code_res.idents %]