re-fix for bug 55161: buglist works again if you search for change history on a bug
Patch by Jake Steenhagen <jake@acutex.net> r= justdave@syndicomm.com git-svn-id: svn://10.0.0.236/trunk@99743 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -312,7 +312,7 @@ sub GenerateSQL {
|
||||
if (defined $value) {
|
||||
$value = trim($value);
|
||||
if ($value ne "") {
|
||||
push(@wherepart, "actcheck.newvalue = " .
|
||||
push(@wherepart, "actcheck.added = " .
|
||||
SqlQuote($value))
|
||||
}
|
||||
}
|
||||
@@ -558,7 +558,7 @@ sub GenerateSQL {
|
||||
push(@supptables, "fielddefs $ftable");
|
||||
push(@wherepart, "$table.bug_id = bugs.bug_id");
|
||||
push(@wherepart, "$table.fieldid = $ftable.fieldid");
|
||||
$term = "($ftable.name = '$f' AND $table.newvalue = $q)";
|
||||
$term = "($ftable.name = '$f' AND $table.added = $q)";
|
||||
},
|
||||
",changedby" => sub {
|
||||
my $table = "act_$chartid";
|
||||
|
||||
Reference in New Issue
Block a user