Fix: backend changes for custom attribute (#4830)
This commit is contained in:
@@ -43,9 +43,9 @@ class AutomationRules::ConditionsFilterService < FilterService
|
||||
@query_string += contact_query_string(contact_filter, query_hash.with_indifferent_access, current_index)
|
||||
elsif message_filter
|
||||
@query_string += message_query_string(message_filter, query_hash.with_indifferent_access, current_index)
|
||||
elsif custom_attribute(query_hash['attribute_key'], @account)
|
||||
elsif custom_attribute(query_hash['attribute_key'], @account, query_hash['custom_attribute_type'])
|
||||
# send table name according to attribute key right now we are supporting contact based custom attribute filter
|
||||
@query_string += custom_attribute_query(query_hash.with_indifferent_access, 'contacts', current_index)
|
||||
@query_string += custom_attribute_query(query_hash.with_indifferent_access, query_hash['custom_attribute_type'], current_index)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user