Updated Deliverable filter to have the All and None options. #1360
This commit is contained in:
1 parent
e5822befb0
commit
28d23109f2
1 file changed
+1
-1
+1
-1
@@ -39,7 +39,7 @@ module QueryPatch
|
|||||||
@available_filters = redmine_available_filters
|
@available_filters = redmine_available_filters
|
||||||
|
|
||||||
if project
|
if project
|
||||||
budget_filters = { "deliverable_id" => { :type => :list, :order => 14,
|
budget_filters = { "deliverable_id" => { :type => :list_optional, :order => 14,
|
||||||
:values => Deliverable.find(:all, :conditions => ["project_id IN (?)", project]).collect { |d| [d.subject, d.id.to_s]}
|
:values => Deliverable.find(:all, :conditions => ["project_id IN (?)", project]).collect { |d| [d.subject, d.id.to_s]}
|
||||||
}}
|
}}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in new issue
Block a user