From: justdave%syndicomm.com <> Date: Mon, 23 Jul 2001 09:34:08 +0000 (+0000) Subject: re-fix for bug 55161: buglist works again if you search for change history on a bug X-Git-Tag: bugzilla-2.14~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0134058c88fbefa005cf7fe7340b5f8e9f03282c;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/buglist.cgi b/buglist.cgi index 49ddb8e44d..8ca7d293e1 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";