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. --- cgi-bin/lxr | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cgi-bin/lxr') diff --git a/cgi-bin/lxr b/cgi-bin/lxr index f71d061..28d6635 100755 --- a/cgi-bin/lxr +++ b/cgi-bin/lxr @@ -357,6 +357,8 @@ sub search { } my $html = ''; $template_args{'tree'} = $context->tree; + $template_args{'search_type'} = $type if + $type =~ /^(search|file|text|code|ident|ambig)$/; $template->process('search_result.tt2', \%template_args, \$html) -- cgit v1.2.3