Commit a8c38773 authored by Max Kanat-Alexander's avatar Max Kanat-Alexander

Allow searches to specify whether the top-level criteria will be joined

together with AND or OR. (This is part of bug 647649 but fixes a test failure caused by bug 656994 so is being checked in now.)
parent 61ae8e8b
......@@ -1555,7 +1555,7 @@ sub _custom_search {
my @field_ids = map { /(\d+)/; $1 } @field_params;
@field_ids = sort { $a <=> $b } @field_ids;
my $current_clause = new Bugzilla::Search::Clause();
my $current_clause = new Bugzilla::Search::Clause($params->{j_top});
my @clause_stack;
foreach my $id (@field_ids) {
my $field = $params->{"f$id"};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment