diff options
author | Byron Jones <glob@mozilla.com> | 2015-06-19 06:26:38 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-06-19 06:26:38 +0200 |
commit | de934d20fd826ac47b459ab2967bf5849e70870b (patch) | |
tree | 8eaa529767678d89815045b2470d1ad610b73b49 /extensions | |
parent | 1bf213a5e321171b3dd0dbc45fbd82bdf573e2d4 (diff) | |
download | bugzilla-de934d20fd826ac47b459ab2967bf5849e70870b.tar.gz bugzilla-de934d20fd826ac47b459ab2967bf5849e70870b.tar.xz |
Bug 1175928: changes made at the same time as a cc change are not visible without showing cc changes
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/BugModal/lib/ActivityStream.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/extensions/BugModal/lib/ActivityStream.pm b/extensions/BugModal/lib/ActivityStream.pm index 58ac25472..82be3ff53 100644 --- a/extensions/BugModal/lib/ActivityStream.pm +++ b/extensions/BugModal/lib/ActivityStream.pm @@ -229,6 +229,11 @@ sub _add_activities_to_stream { } } + # track cc-only + if ($change->{fieldname} ne 'cc') { + $operation->{cc_only} = 0; + } + # split multiple flag changes (must be processed last) if ($change->{fieldname} eq 'flagtypes.name') { my @added = split(/, /, $change->{added}); @@ -260,11 +265,6 @@ sub _add_activities_to_stream { } $i--; } - - # track cc-only - if ($change->{fieldname} ne 'cc') { - $operation->{cc_only} = 0; - } } _add_activity_to_stream($stream, date_str_to_time($operation->{when}), $operation->{who}->id, $operation); |