Patch #41678 » fix_lost_backward_compatibility_about_return_type_of_ProjectQuery_results_scope.patch
app/models/project_query.rb | ||
---|---|---|
166 | 166 |
scope = scope.preload(:parent) |
167 | 167 |
end |
168 | 168 | |
169 |
projects = scope.to_a |
|
170 | 169 |
if has_column?(:last_activity_date) |
171 | 170 |
Project.load_last_activity_date(scope) |
172 | 171 |
end |
173 | 172 | |
174 |
projects
|
|
173 |
scope
|
|
175 | 174 |
end |
176 | 175 |
end |