On the calendar, the gantt and in the Tracker filter on the issue list, only active trackers of the project (and its sub projects) can be selected.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1071 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-01-16 21:27:48 +00:00
parent 18066ba8bf
commit 049051103b
8 changed files with 37 additions and 13 deletions
+2 -2
View File
@@ -418,7 +418,7 @@ class ProjectsController < ApplicationController
end
def calendar
@trackers = Tracker.find(:all, :order => 'position')
@trackers = @project.rolled_up_trackers
retrieve_selected_tracker_ids(@trackers)
if params[:year] and params[:year].to_i > 1900
@@ -445,7 +445,7 @@ class ProjectsController < ApplicationController
end
def gantt
@trackers = Tracker.find(:all, :order => 'position')
@trackers = @project.rolled_up_trackers
retrieve_selected_tracker_ids(@trackers)
if params[:year] and params[:year].to_i >0