@@ -63,8 +63,7 class Tracker < ActiveRecord::Base | |||
|
63 | 63 | connection.select_rows("SELECT DISTINCT old_status_id, new_status_id FROM #{WorkflowTransition.table_name} WHERE tracker_id = #{id} AND type = 'WorkflowTransition'"). |
|
64 | 64 | flatten. |
|
65 | 65 | uniq |
|
66 | ||
|
67 | @issue_statuses = IssueStatus.find_all_by_id(ids).sort | |
|
66 | @issue_statuses = IssueStatus.where(:id => ids).all.sort | |
|
68 | 67 | end |
|
69 | 68 | |
|
70 | 69 | def disabled_core_fields |
General Comments 0
You need to be logged in to leave comments.
Login now