Project

General

Profile

Patch #41678 » fix_lost_backward_compatibility_about_return_type_of_ProjectQuery_results_scope.patch

Nishida Yuya, 2024-11-01 19:00

View differences:

app/models/project_query.rb
scope = scope.preload(:parent)
end
projects = scope.to_a
if has_column?(:last_activity_date)
Project.load_last_activity_date(scope)
end
projects
scope
end
end
(1-1/2)