mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-04-04 01:01:59 -04:00
Filter by customer works now
This commit is contained in:
@@ -26,7 +26,7 @@ module RedmineQbo
|
|||||||
|
|
||||||
# Add customers to filters
|
# Add customers to filters
|
||||||
def initialize_available_filters
|
def initialize_available_filters
|
||||||
#add_available_filter "customer", type: :text
|
add_available_filter "customer_id", type: :list, name: l(:field_customer), :values => lambda {Customer.pluck(:name, :id).map {|name, id| [name, id.to_s]}}
|
||||||
super
|
super
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user