Fixed: gantt displays issues by date of creation.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4421 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2010-11-21 13:54:26 +00:00
parent 1158716f46
commit 77c6188ec2
2 changed files with 14 additions and 2 deletions
+1 -2
View File
@@ -68,8 +68,7 @@ class Issue < ActiveRecord::Base
:conditions => ["#{Project.table_name}.status=#{Project::STATUS_ACTIVE}"]
named_scope :for_gantt, lambda {
{
:include => [:tracker, :status, :assigned_to, :priority, :project, :fixed_version],
:order => "#{Issue.table_name}.due_date ASC, #{Issue.table_name}.start_date ASC, #{Issue.table_name}.id ASC"
:include => [:tracker, :status, :assigned_to, :priority, :project, :fixed_version]
}
}