Update query_patch.rb

This commit is contained in:
2016-05-29 11:54:49 -04:00
parent 42212a073c
commit ba152e69d2

View File

@@ -53,10 +53,10 @@ module QueryPatch
qbo_filters = { qbo_filters = {
"customer_id" => { "customer_id" => {
#:id => :customer_id, :id => :customer_id,
:type => :list_optional, :type => :list_optional,
:order => @available_filters.size + 1, :order => @available_filters.size + 1,
:values => Customer.find(:all).collect { |c| [c.name, c.id.to_s]} #:values => Customer.find(:all).collect { |c| [c.name, c.id.to_s]}
} }
} }