Merged r19637 from trunk to 4.1-stable (#32737).

git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@19639 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2020-04-02 07:56:45 +00:00
parent 0bf775e77c
commit 06e538861a

View File

@@ -151,7 +151,7 @@ module Redmine
def issues
@issues ||= @query.issues(
:include => [:assigned_to, :tracker, :priority, :category, :fixed_version],
:order => "#{Project.table_name}.lft ASC, #{Issue.table_name}.id ASC",
:order => ["#{Project.table_name}.lft ASC", "#{Issue.table_name}.id ASC"],
:limit => @max_rows
)
end