mirror of
https://github.com/redmine/redmine.git
synced 2026-09-02 03:56:31 +02:00
Do not show private descendants in subproject filter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2264 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -175,7 +175,7 @@ class Query < ActiveRecord::Base
|
||||
@available_filters["fixed_version_id"] = { :type => :list_optional, :order => 7, :values => @project.versions.sort.collect{|s| [s.name, s.id.to_s] } }
|
||||
end
|
||||
unless @project.descendants.active.empty?
|
||||
@available_filters["subproject_id"] = { :type => :list_subprojects, :order => 13, :values => @project.descendants.active.collect{|s| [s.name, s.id.to_s] } }
|
||||
@available_filters["subproject_id"] = { :type => :list_subprojects, :order => 13, :values => @project.descendants.visible.collect{|s| [s.name, s.id.to_s] } }
|
||||
end
|
||||
add_custom_fields_filters(@project.all_issue_custom_fields)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user