or die "Unable to open $index: $!";
my %bug_matching = ();
for my $search (make_list($param{$key})) {
- next unless defined $idx{$search};
- for my $bug (keys %{$idx{$search}}) {
+ for my $bug (keys %{$idx{$search}||{}}) {
next if $bug_matching{$bug};
# increment the number of searches that this bug matched
$bugs{$bug}++;
$bug_matching{$bug}=1;
}
+ if ($search ne lc($search)) {
+ for my $bug (keys %{$idx{lc($search)}||{}}) {
+ next if $bug_matching{$bug};
+ # increment the number of searches that this bug matched
+ $bugs{$bug}++;
+ $bug_matching{$bug}=1;
+ }
+ }
}
if ($key eq 'tag' and exists $param{usertags}) {
for my $bug (make_list(grep {defined $_ } @{$param{usertags}}{make_list($param{tag})})) {
- Fix casing of versions (closes: #441022)
- Output last-modified in bugreport.cgi (closes: #459709)
- Fix various html syntax errors in pkgreport.cgi (closes: #462322)
+ - Make search case insensitive (closes: #448861)
-- Colin Watson <cjwatson@debian.org> Fri, 20 Jun 2003 18:57:25 +0100
],message_body_template('mail/process_mark_as_done',
{data => $data,
markedby => $markedby,
+ messageid => $header{'message-id'},
+ subject => $header{subject},
},
),
[join("\n",@msg),$orig_report]),'',undef,1);