mirror of
https://github.com/redmine/redmine.git
synced 2026-07-07 11:13:34 +02:00
Overdue versions (date reached and open issues > 0) are now always displayed on the roadmap.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@604 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -443,8 +443,8 @@ class ProjectsController < ApplicationController
|
||||
def roadmap
|
||||
@trackers = Tracker.find(:all, :conditions => ["is_in_roadmap=?", true], :order => 'position')
|
||||
retrieve_selected_tracker_ids(@trackers)
|
||||
conditions = ("1" == params[:completed] ? nil : [ "#{Version.table_name}.effective_date > ? OR #{Version.table_name}.effective_date IS NULL", Date.today])
|
||||
@versions = @project.versions.find(:all, :conditions => conditions).sort
|
||||
@versions = @project.versions.sort
|
||||
@versions = @versions.select {|v| !v.completed? } unless params[:completed]
|
||||
end
|
||||
|
||||
def activity
|
||||
|
||||
Reference in New Issue
Block a user