]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 139759: gets email searches for "cc: list or assignee" working again.
authormyk%mozilla.org <>
Sat, 27 Apr 2002 01:17:04 +0000 (01:17 +0000)
committermyk%mozilla.org <>
Sat, 27 Apr 2002 01:17:04 +0000 (01:17 +0000)
Patch by David Ward <dward@netschools.net>
2xr=myk

buglist.cgi

index 31f15b02e4d76a340404c77210a66c4ee376c103..a29184200c778fede08e5629f2260e34aa851d64 100755 (executable)
@@ -503,11 +503,9 @@ sub GenerateSQL {
          },
 
          "^cc," => sub {
-            push(@supptables, "cc cc_$chartid");
-            push(@wherepart, "bugs.bug_id = cc_$chartid.bug_id");
+            push(@supptables, "LEFT JOIN cc cc_$chartid ON bugs.bug_id = cc_$chartid.bug_id");
 
-            push(@supptables, "profiles map_cc_$chartid");
-            push(@wherepart, "cc_$chartid.who = map_cc_$chartid.userid");
+            push(@supptables, "LEFT JOIN profiles map_cc_$chartid ON cc_$chartid.who = map_cc_$chartid.userid");
             $f = "map_cc_$chartid.login_name";
          },