Fix: contact filter values (#3456)

This commit is contained in:
Tejaswini Chile 2021-11-24 12:58:00 +05:30 committed by GitHub
parent 00143f7ee5
commit 330a97b5c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,6 +38,10 @@ class Contacts::FilterService < FilterService
end end
end end
def filter_values(query_hash)
query_hash['values'][0]
end
def base_relation def base_relation
Current.account.contacts.left_outer_joins(:labels) Current.account.contacts.left_outer_joins(:labels)
end end