mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update query_patch.rb
This commit is contained in:
@@ -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]}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user