Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@19637 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/4.2.0
@@ -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 |