Bug 264192: Fix search where BugsThisDependsOn or OtherBugsDependingOnThis is empty
Patch by Joel Peshkin <bugreport@peshkin.net> r=mkanat, a=myk git-svn-id: svn://10.0.0.236/trunk@169822 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
622fd3391f
commit
665ae2ce13
@ -881,20 +881,24 @@ sub init {
|
||||
|
||||
"^dependson,(?!changed)" => sub {
|
||||
my $table = "dependson_" . $chartid;
|
||||
push(@supptables, "dependencies $table");
|
||||
$ff = "$table.$f";
|
||||
my $ref = $funcsbykey{",$t"};
|
||||
&$ref;
|
||||
push(@wherepart, "$table.blocked = bugs.bug_id");
|
||||
push(@supptables, "LEFT JOIN dependencies $table " .
|
||||
"ON $table.blocked = bugs.bug_id " .
|
||||
"AND ($term)");
|
||||
$term = "$ff IS NOT NULL";
|
||||
},
|
||||
|
||||
"^blocked,(?!changed)" => sub {
|
||||
my $table = "blocked_" . $chartid;
|
||||
push(@supptables, "dependencies $table");
|
||||
$ff = "$table.$f";
|
||||
my $ref = $funcsbykey{",$t"};
|
||||
&$ref;
|
||||
push(@wherepart, "$table.dependson = bugs.bug_id");
|
||||
push(@supptables, "LEFT JOIN dependencies $table " .
|
||||
"ON $table.dependson = bugs.bug_id " .
|
||||
"AND ($term)");
|
||||
$term = "$ff IS NOT NULL";
|
||||
},
|
||||
|
||||
"^alias,(?!changed)" => sub {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user