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