From: myk%mozilla.org <> Date: Sat, 27 Apr 2002 01:17:04 +0000 (+0000) Subject: Fix for bug 139759: gets email searches for "cc: list or assignee" working again. X-Git-Tag: bugzilla-2.16rc1~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c2187f5d58c42536873957516b4fc8b2dc25330;p=thirdparty%2Fbugzilla.git Fix for bug 139759: gets email searches for "cc: list or assignee" working again. Patch by David Ward 2xr=myk --- diff --git a/buglist.cgi b/buglist.cgi index 31f15b02e4..a29184200c 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"; },