Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Important
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7, 4.7.14
-
Fix Version/s: 4.7.17
-
Component/s: Drupal Integration Modules
-
Labels:
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
This patch from CRM-18776 appears to cause a regression. All field groups which do not directy extend the base 'Contact' diseappear from the view. Therefore any field attached to individuals, organizations and households will not appear in views.
I changed the ('Contact' === $dao->extends) test in the patch with a comparison against the list of base contact types and that fixed my problem:
$extendsContactSubtype = (in_array($dao->extends, array('Contact', 'Individual', 'Organization', 'Household')) && !empty($dao->extends_entity_column_value));
Attachments
Issue Links
- supplements
-
CRM-18776 Views and non-Contact entities with custom field groups
- Done/Fixed
- links to