X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=cgi%2Fsearch.cgi;h=d728542ef3fdd60485c3bd3efc559cdc489c18ab;hb=f14350af3adf35feb4f3b628ffa9b13bc6f8d05a;hp=d3f449ea16ee2b179d9640a9c20ba9e78fd65e42;hpb=61a4b41b8593395bd89e8cf57032a3dac6f8df08;p=debbugs.git
diff --git a/cgi/search.cgi b/cgi/search.cgi
index d3f449e..d728542 100755
--- a/cgi/search.cgi
+++ b/cgi/search.cgi
@@ -14,7 +14,7 @@ BEGIN{
use CGI::Simple;
-use CGI::Alert 'don@donarmstrong.com';
+# use CGI::Alert 'nobody@example.com';
use Search::Estraier;
use Debbugs::Config qw(:config);
@@ -33,7 +33,7 @@ my %cgi_var = cgi_parameters(query => $q,
default => {phrase => '',
max_results => 10,
skip => 0,
- }.
+ },
);
$cgi_var{attribute} = parse_attribute(\%cgi_var) || [];
@@ -160,7 +160,7 @@ my %attributes = ('@cdate' => {name => 'Date',
type => 'str',
},
subject => {name => 'Bug Title',
- type => 'num',
+ type => 'str',
},
date => {name => 'Submission date',
type => 'num',
@@ -198,11 +198,11 @@ for my $attribute (@{$cgi_var{attribute}}) {
}
print qq(\n);
$$attribute{value}='' if not defined $$attribute{value};
- print qq( \n);
+ print qq( \n);
$attr_num++;
}
-print qq( );
+print qq( );
# order
@@ -269,9 +269,9 @@ if (defined $nres) {
my $showseverity;
$showseverity = "Severity: $attr{severity};\n";
print <#${bugnum}: $attr{'@title'} @{[htmlize_packagelinks($attr{package})]}
-$showseverity
-Sent by: @{[encode_entities($attr{'@author'})]} at $attr{'@cdate'}
+
#${bugnum}: $attr{'@title'} @{[htmlize_packagelinks($attr{package})]}
+$showseverity
+Sent by: @{[encode_entities($attr{'@author'})]} at $attr{'@cdate'}
END
# Deal with the snippet
# make the things that match bits of the phrase bold, the rest normal.