show_childprojects_issues_on_parent_project_roadmap.patch

yusuke kokubo, 2010-07-07 10:55

Download (662 Bytes)

View differences:

projects_controller.rb (???R?s?[)
290 290
  end
291 291

  
292 292
  def roadmap
293
    @trackers = @project.trackers.find(:all, :order => 'position')
293
    @trackers = @project.rolled_up_trackers
294 294
    retrieve_selected_tracker_ids(@trackers, @trackers.select {|t| t.is_in_roadmap?})
295 295
    @with_subprojects = params[:with_subprojects].nil? ? Setting.display_subprojects_issues? : (params[:with_subprojects] == '1')
296 296
    project_ids = @with_subprojects ? @project.self_and_descendants.collect(&:id) : [@project.id]