diff --git a/CRM/Extendedreport/Form/Report/Contact/AddressHistory.php b/CRM/Extendedreport/Form/Report/Contact/AddressHistory.php index deaf58e9..79225ced 100644 --- a/CRM/Extendedreport/Form/Report/Contact/AddressHistory.php +++ b/CRM/Extendedreport/Form/Report/Contact/AddressHistory.php @@ -30,12 +30,19 @@ class CRM_Extendedreport_Form_Report_Contact_AddressHistory extends CRM_Extended */ protected $mergedContacts = []; + /** + * CRM_Extendedreport_Form_Report_Contact_AddressHistory constructor. + * + * @throws \CiviCRM_API3_Exception + */ public function __construct() { $addressColumns = $this->getColumns('Address', [ 'fields' => TRUE, 'order_bys' => FALSE, //'fields_defaults' => array('address_name', 'street_address', 'supplemental_address_1', 'supplemental_address_2', 'city', 'state_province_id', 'country_id', 'postal_code', 'county_id'), 'fields_defaults' => ['display_address'], + // More work to be done to figure out how retrieving custom data for this report would look + 'extended' => FALSE, ] )['civicrm_address']['metadata'];