Project

General

Profile

Feature #43957 » 0002-Reduce-queries-in-WorkflowTransition.replace_transit.patch

Go MAEDA, 2026-04-14 11:26

View differences:

app/models/workflow_transition.rb
new(
:old_status_id => old_status_id,
:new_status_id => new_status_id,
:tracker_id => tracker.id,
:role_id => role.id
:tracker => tracker,
:role => role
)
records_by_status_and_scope[key] ||= []
records_by_status_and_scope[key] << w
(2-2/3)