summaryrefslogtreecommitdiffstats
path: root/app/controllers/projects_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-12-12 15:33:31 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-12-12 15:33:31 +0000
commitd58762a52dd7410b302532c0bc5d6b0082287a76 (patch)
tree06a6711f293ce0dab6c231cd2f3c4646436f4d7e /app/controllers/projects_controller.rb
parentc66943c9b893483883e7c18e55aea7587f9f7bbd (diff)
downloadredmine-d58762a52dd7410b302532c0bc5d6b0082287a76.tar.gz
redmine-d58762a52dd7410b302532c0bc5d6b0082287a76.zip
Roadmap: sort issues by project and prepend project name if different (#4373).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3163 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r--app/controllers/projects_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index ad7ec8ef3..386807f55 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -319,9 +319,9 @@ class ProjectsController < ApplicationController
conditions.merge!(:project_id => project_ids)
end
issues = version.fixed_issues.visible.find(:all,
- :include => [:status, :tracker, :priority],
+ :include => [:project, :status, :tracker, :priority],
:conditions => conditions,
- :order => "#{Tracker.table_name}.position, #{Issue.table_name}.id")
+ :order => "#{Project.table_name}.lft, #{Tracker.table_name}.position, #{Issue.table_name}.id")
@issues_by_version[version] = issues
end
end