Filter by customer works now

This commit is contained in:
2026-02-15 21:34:22 -05:00
parent d2b9113914
commit 3111f391f3

View File

@@ -26,7 +26,7 @@ module RedmineQbo
# Add customers to 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
end