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:
@@ -52,14 +52,14 @@ module QueryPatch
|
||||
# :order => @available_filters.size + 1},
|
||||
#}
|
||||
|
||||
qbo_filters = {
|
||||
"customer_id" => {
|
||||
:id => :customer_id,
|
||||
:type => :list_optional
|
||||
#qbo_filters = {
|
||||
# "customer_id" => {
|
||||
# :id => :customer_id,
|
||||
# :type => :list_optional
|
||||
#:order => @available_filters.size + 1,
|
||||
#:values => Customer.find(:all).collect { |c| [c.name, c.id.to_s]}
|
||||
}
|
||||
}
|
||||
# }
|
||||
#}
|
||||
|
||||
@available_filters.merge!(qbo_filters)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user