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:
justdave%syndicomm.com
2001-07-23 02:34:08 +00:00
parent 89350da363
commit af96e738e6

View File

@@ -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";