Details
-
Type:
Improvement
-
Status: Done/Fixed
-
Priority:
Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.2.5
-
Fix Version/s: 3.0
-
Component/s: Core CiviCRM
-
Labels:None
Description
Users who are targeting contacts for outbound mass communications often need to filter the list by the preferred communication method (e.g. send emails vs. postal mail etc.). The search for this set of checkboxes uses the OR operator - consistent with other sets of checkboxes in Advanced Search.
Example: If you search by Preferred Comm Method and check Email and Phone - you'll get contacts who have one or the other (or both) preferences checked in their record.
Kurund - This seems to be working properly. However, please check CRM_Contact_BAO_Query::preferredCommunication - the function was already there but needed to be rewritten. The lines from 2630 to 2643 I left as-is - but I don't understand when they'd be called. Seems like $value will always be an array ???