Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.1.5
-
Fix Version/s: 3.1.6
-
Component/s: Drupal Integration Modules
-
Labels:None
Description
as mentioned here:
http://forum.civicrm.org/index.php?topic=8468.0#msg37082
...and elsewhere, the CiviCRM CCK Contact Reference drupal module (CiviCRM 3.1.5) contains some SQL which searches for CiviCRM contacts which includes this in the where clause:
WHERE contact_type LIKE 'Individual'
...a patch is attached which replaces this with a configurable option on each CCK field created with this module to specify which contact_types should be included when searching.
e.g. CiviCRM contact_type:
[] Individual
[] Household
[] Organisation
This has had some basic testing using the different widget types provided by the module.