summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2001-07-23 11:34:08 +0200
committerjustdave%syndicomm.com <>2001-07-23 11:34:08 +0200
commit0134058c88fbefa005cf7fe7340b5f8e9f03282c (patch)
tree5f8b9131c7003c1b3841d6e4821419df3e71d425
parent4ce389f3a363ec9131a8e5cdbb34557e164f7b3f (diff)
downloadbugzilla-0134058c88fbefa005cf7fe7340b5f8e9f03282c.tar.gz
bugzilla-0134058c88fbefa005cf7fe7340b5f8e9f03282c.tar.xz
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
-rwxr-xr-xbuglist.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 49ddb8e44..8ca7d293e 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -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";