1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-27 02:41:15 +00:00

Statuses of subprojects should be showed too (#5385).

git-svn-id: http://svn.redmine.org/redmine/trunk@16576 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2017-05-27 09:13:35 +00:00
parent ba37a2c476
commit d6b0fca902

View File

@ -455,7 +455,7 @@ class Project < ActiveRecord::Base
def rolled_up_statuses
issue_status_ids = WorkflowTransition.
where(:tracker_id => trackers).
where(:tracker_id => rolled_up_trackers.map(&:id)).
distinct.
pluck(:old_status_id, :new_status_id).
flatten.