mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 08:54:23 -05:00
Update query_patch.rb
This commit is contained in:
@@ -51,9 +51,12 @@ module QueryPatch
|
||||
# :order => @available_filters.size + 1},
|
||||
#}
|
||||
|
||||
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]}
|
||||
}}
|
||||
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]}
|
||||
}
|
||||
}
|
||||
|
||||
@available_filters.merge!(qbo_filters)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user