Feature #43957 » 0002-Reduce-queries-in-WorkflowTransition.replace_transit.patch
| app/models/workflow_transition.rb | ||
|---|---|---|
| 57 | 57 |
new( |
| 58 | 58 |
:old_status_id => old_status_id, |
| 59 | 59 |
:new_status_id => new_status_id, |
| 60 |
:tracker_id => tracker.id,
|
|
| 61 |
:role_id => role.id
|
|
| 60 |
:tracker => tracker,
|
|
| 61 |
:role => role
|
|
| 62 | 62 |
) |
| 63 | 63 |
records_by_status_and_scope[key] ||= [] |
| 64 | 64 |
records_by_status_and_scope[key] << w |
- « Previous
- 1
- 2
- Next »