甘特图排序

This commit is contained in:
huang 2016-11-07 13:52:16 +08:00
parent fb2f1b3859
commit 6d6c268138
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,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 => "#{Issue.table_name}.updated_on DESC",
:limit => @max_rows
)
end