Update query_patch.rb

This commit is contained in:
2016-05-29 11:49:54 -04:00
parent 89a02d85fe
commit 53505857d6

View File

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