mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Update query_patch.rb
Fixed Filter
This commit is contained in:
@@ -43,8 +43,14 @@ module QueryPatch
|
|||||||
def available_filters_with_qbo
|
def available_filters_with_qbo
|
||||||
return @available_filters if @available_filters
|
return @available_filters if @available_filters
|
||||||
@available_filters = available_filters_without_qbo
|
@available_filters = available_filters_without_qbo
|
||||||
@available_filters.add "customer", :type => :text
|
|
||||||
return @available_filters
|
qbo_filters = {
|
||||||
|
"customer" => {
|
||||||
|
:name => l(:field_qbo_customer),
|
||||||
|
:type => :text,
|
||||||
|
:order => @available_filters.size + 1},
|
||||||
|
}
|
||||||
|
return @available_filters.merge!(qbo_filters)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user