X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=cgi%2Fsearch.cgi;h=d728542ef3fdd60485c3bd3efc559cdc489c18ab;hb=4ad8475827b40cc70b38e68a568ca5635096a860;hp=5f6eadcc3004da7b6b05286e31b4eeb9ba304c0f;hpb=f23748e077f6335560817df3f78e627d947deb3b;p=debbugs.git diff --git a/cgi/search.cgi b/cgi/search.cgi index 5f6eadc..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); @@ -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.