diff options
author | Byron Jones <glob@mozilla.com> | 2015-09-29 18:40:23 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-09-29 18:40:23 +0200 |
commit | 03f7b9737ce4315fdb037ed10ea38e133da2aef9 (patch) | |
tree | 707ce2eb6ac68c0f0f2ca93c78ffc1f9d018ab63 /extensions/BugModal/lib | |
parent | 05fed61671067cb6a750d41909ccb5692ba43808 (diff) | |
download | bugzilla-03f7b9737ce4315fdb037ed10ea38e133da2aef9.tar.gz bugzilla-03f7b9737ce4315fdb037ed10ea38e133da2aef9.tar.xz |
Bug 1204623 - timestamp on flags should reference the latest updated activity, not the first
Diffstat (limited to 'extensions/BugModal/lib')
-rw-r--r-- | extensions/BugModal/lib/ActivityStream.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BugModal/lib/ActivityStream.pm b/extensions/BugModal/lib/ActivityStream.pm index f950bea1c..0bd88e623 100644 --- a/extensions/BugModal/lib/ActivityStream.pm +++ b/extensions/BugModal/lib/ActivityStream.pm @@ -103,7 +103,7 @@ sub find_activity_id_for_flag { # we don't have an object_id to match on if (!exists $self->{activity_cache}->{flag}->{$flag->id}) { - foreach my $change_set (@$stream) { + foreach my $change_set (reverse @$stream) { foreach my $activity (@{ $change_set->{activity} }) { # match by user, timestamp, and flag-type name next unless |