]> git.donarmstrong.com Git - debbugs.git/blobdiff - cgi/search.cgi
fix inversion of date/versions in Debbugs::Status leading to negative times argument
[debbugs.git] / cgi / search.cgi
index d3f449ea16ee2b179d9640a9c20ba9e78fd65e42..b1f5e09f84724a8b3e38377db960073d275b7ce9 100755 (executable)
@@ -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',