Update query_patch.rb

This commit is contained in:
2016-05-29 11:47:34 -04:00
parent 6249b057af
commit 89a02d85fe

View File

@@ -52,9 +52,11 @@ module QueryPatch
#}
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]}
"customer_id" => {
:id => l(:field_customer),
:type => :list_optional,
:order => @available_filters.size + 1,
#:values => Customer.find(:all, :order => 'name ASC').collect { |c| [c.name, c.id.to_s]}
}
}