From 0134058c88fbefa005cf7fe7340b5f8e9f03282c Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Mon, 23 Jul 2001 09:34:08 +0000 Subject: re-fix for bug 55161: buglist works again if you search for change history on a bug Patch by Jake Steenhagen r= justdave@syndicomm.com --- buglist.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'buglist.cgi') 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"; -- cgit v1.2.3-24-g4f1b