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:
parent
4308dd7d4c
commit
97434b5aaa
|
@ -333,9 +333,7 @@ class IssueQuery < Query
|
||||||
limit(options[:limit]).
|
limit(options[:limit]).
|
||||||
offset(options[:offset])
|
offset(options[:offset])
|
||||||
|
|
||||||
if has_custom_field_column?
|
scope = scope.preload(:custom_values)
|
||||||
scope = scope.preload(:custom_values)
|
|
||||||
end
|
|
||||||
|
|
||||||
issues = scope.all
|
issues = scope.all
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue