]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
backing out the changes to queries on CC since they broke normal cc queries in the...
authorendico%mozilla.org <>
Sat, 10 Mar 2001 15:08:36 +0000 (15:08 +0000)
committerendico%mozilla.org <>
Sat, 10 Mar 2001 15:08:36 +0000 (15:08 +0000)
buglist.cgi

index 45feab9f09425732acf7c550ab3b40218e1cfd3c..9818bfe78601f6a504fb30e8a7049ab360832ddc 100755 (executable)
@@ -335,13 +335,9 @@ sub GenerateSQL {
          },
 
          "^cc," => sub {
-                my $tablecc = "cc_" . $chartid;
-                my $tableprof = "cc_prof_" . $chartid;
-               push(@supptables, "cc $tablecc, profiles $tableprof");
-               $ff = "$tableprof.login_name ";
-               $ref = $funcsbykey{",$t"};
-               &$ref;
-                push(@wherepart, " $tablecc.bug_id = bugs.bug_id AND $tablecc.who=$tableprof.userid ");
+            push(@supptables,                                                  
+              ("LEFT JOIN cc cc_$chartid ON bugs.bug_id = cc_$chartid.bug_id LEFT JOIN profiles map_cc_$chartid ON cc_$chartid.who = map_cc_$chartid.userid"));
+            $f = "map_cc_$chartid.login_name";  
          },
 
          "^long_?desc,changedby" => sub {