diff options
author | endico%mozilla.org <> | 2001-03-10 15:08:36 +0000 |
---|---|---|
committer | endico%mozilla.org <> | 2001-03-10 15:08:36 +0000 |
commit | cdbfbf1fafefcd5e30915e5b12f8c4ea26f4721a (patch) | |
tree | 7663a4d0230f3addea912696257b4aacabd7ba08 /buglist.cgi | |
parent | Removed windows linefeeds. (diff) | |
download | bugzilla-cdbfbf1fafefcd5e30915e5b12f8c4ea26f4721a.tar.gz bugzilla-cdbfbf1fafefcd5e30915e5b12f8c4ea26f4721a.tar.bz2 bugzilla-cdbfbf1fafefcd5e30915e5b12f8c4ea26f4721a.zip |
backing out the changes to queries on CC since they broke normal cc queries in the standard email address box at the top of the page
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/buglist.cgi b/buglist.cgi index 45feab9f0..9818bfe78 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -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 { |