From f760ee057d1de9e491e362ccd59d65c24444142b Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Sun, 29 May 2016 11:44:33 -0400 Subject: [PATCH] Update query_patch.rb --- 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 a225aca..d871992 100644 --- a/lib/query_patch.rb +++ b/lib/query_patch.rb @@ -51,7 +51,7 @@ module QueryPatch # :order => @available_filters.size + 1}, #} - qbo_filters = { "customer_id" => { :type => :list_optional, :order => 14, + qbo_filters = { "customer_id" => { :type => :list_optional, :order => @available_filters.size + 1}, :values => Customer.find(:all, :order => 'name ASC').collect { |c| [c.name, c.id.to_s]} }}