]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
re-fix for bug 55161: buglist works again if you search for change history on a bug
authorjustdave%syndicomm.com <>
Mon, 23 Jul 2001 09:34:08 +0000 (09:34 +0000)
committerjustdave%syndicomm.com <>
Mon, 23 Jul 2001 09:34:08 +0000 (09:34 +0000)
Patch by Jake Steenhagen <jake@acutex.net>
r= justdave@syndicomm.com

buglist.cgi

index 49ddb8e44da20a3ea30c626a98bd5d8575e5cbf6..8ca7d293e183cf411bef09adab063c4d8e38eac5 100755 (executable)
@@ -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";