From 28d23109f2749edfbc2ed00948d3c5a8f81f90d0 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Mon, 23 Jun 2008 15:59:39 -0700 Subject: [PATCH] Updated Deliverable filter to have the All and None options. #1360 --- lib/query_patch.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/query_patch.rb b/lib/query_patch.rb index b1a6e7b..cbdc8ed 100644 --- a/lib/query_patch.rb +++ b/lib/query_patch.rb @@ -39,7 +39,7 @@ module QueryPatch @available_filters = redmine_available_filters 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]} }} else