From 28514e3d8ea1cfdc0e920ee3612738f7731d73fb Mon Sep 17 00:00:00 2001 From: Arne Georg Gleditsch Date: Tue, 27 Nov 2007 01:01:07 +0100 Subject: Show empty results for specific search. --- tmpl/search_result.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmpl') 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 @@ X -[% IF code_res and code_res.idents %] +[% IF search_type == "code" or (code_res and code_res.idents.0) %]
Code search: [% code_res.query %]