mirror of
https://github.com/redmine/redmine.git
synced 2026-03-23 12:51:02 +01:00
Merged r12894 (#16091).
git-svn-id: http://svn.redmine.org/redmine/branches/2.5-stable@12895 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -333,9 +333,7 @@ class IssueQuery < Query
|
||||
limit(options[:limit]).
|
||||
offset(options[:offset])
|
||||
|
||||
if has_custom_field_column?
|
||||
scope = scope.preload(:custom_values)
|
||||
end
|
||||
scope = scope.preload(:custom_values)
|
||||
|
||||
issues = scope.all
|
||||
|
||||
|
||||
Reference in New Issue
Block a user