@@ -49,7 +49,7 class WorkflowsController < ApplicationController | |||||
49 | if @tracker && @used_statuses_only && @tracker.issue_statuses.any? |
|
49 | if @tracker && @used_statuses_only && @tracker.issue_statuses.any? | |
50 | @statuses = @tracker.issue_statuses |
|
50 | @statuses = @tracker.issue_statuses | |
51 | end |
|
51 | end | |
52 |
@statuses ||= IssueStatus. |
|
52 | @statuses ||= IssueStatus.sorted.all | |
53 |
|
53 | |||
54 | if @tracker && @role && @statuses.any? |
|
54 | if @tracker && @role && @statuses.any? | |
55 | workflows = WorkflowTransition.all(:conditions => {:role_id => @role.id, :tracker_id => @tracker.id}) |
|
55 | workflows = WorkflowTransition.all(:conditions => {:role_id => @role.id, :tracker_id => @tracker.id}) |
General Comments 0
You need to be logged in to leave comments.
Login now