summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormyk%mozilla.org <>2002-04-27 03:17:04 +0200
committermyk%mozilla.org <>2002-04-27 03:17:04 +0200
commit4c2187f5d58c42536873957516b4fc8b2dc25330 (patch)
treef308c7c31c618ccb7dfd876351f3256498816a82
parent82e546e2a40e9ecaf33080734bd2b8bf2f57a7fb (diff)
downloadbugzilla-4c2187f5d58c42536873957516b4fc8b2dc25330.tar.gz
bugzilla-4c2187f5d58c42536873957516b4fc8b2dc25330.tar.xz
Fix for bug 139759: gets email searches for "cc: list or assignee" working again.
Patch by David Ward <dward@netschools.net> 2xr=myk
-rwxr-xr-xbuglist.cgi6
1 files changed, 2 insertions, 4 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 31f15b02e..a29184200 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -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";
},