From 3111f391f3521698d9afe0fa61021aacf584646c Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Sun, 15 Feb 2026 21:34:22 -0500 Subject: [PATCH] Filter by customer works now --- lib/redmine_qbo/patches/query_patch.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/redmine_qbo/patches/query_patch.rb b/lib/redmine_qbo/patches/query_patch.rb index 2794927..29209a9 100644 --- a/lib/redmine_qbo/patches/query_patch.rb +++ b/lib/redmine_qbo/patches/query_patch.rb @@ -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