diff options
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r-- | app/controllers/projects_controller.rb | 4 |
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 |