diff --git a/CRM/Extendedreport/Form/Report/ExtendedReport.php b/CRM/Extendedreport/Form/Report/ExtendedReport.php index 95d4db69..86ec045a 100644 --- a/CRM/Extendedreport/Form/Report/ExtendedReport.php +++ b/CRM/Extendedreport/Form/Report/ExtendedReport.php @@ -24,8 +24,6 @@ class CRM_Extendedreport_Form_Report_ExtendedReport extends CRM_Report_Form { protected $_rollup = ''; - protected $_fieldSpecs = []; - protected $contactIDField; protected $metaData = []; @@ -73,8 +71,6 @@ class CRM_Extendedreport_Form_Report_ExtendedReport extends CRM_Report_Form { */ protected $joinFiltersTab = FALSE; - protected $_customFields = []; - /** * Array of tables with their statuses - relevant for things like Batch which might be absent from a DB. * @@ -2869,6 +2865,7 @@ protected function formatCustomValues($value, $customField, $fieldValueMap, arra * @param string $tableName Name of table * * @return bool + * @throws \Civi\Core\Exception\DBQueryException */ protected function tableExists(string $tableName): bool { $sql = "SHOW TABLES LIKE '$tableName'"; @@ -3750,6 +3747,7 @@ protected function getMembershipTypeColumns(array $options): array { * - taken from core event class. * * @return array + * @throws \Civi\Core\Exception\DBQueryException */ protected function getEventFilterOptions(): array { $events = []; @@ -3990,7 +3988,7 @@ protected function getCampaignColumns(): array { * * This is called by getColumns. * - * @param array + * @param array $options * * @return array * @@ -7292,7 +7290,7 @@ protected function getMetadataForFields(array $table): array { return []; } - $entity = CRM_Core_DAO_AllCoreTables::getBriefName(str_replace('BAO', 'DAO', $daoOrBaoName)); + $entity = CRM_Core_DAO_AllCoreTables::getEntityNameForClass(str_replace('BAO', 'DAO', $daoOrBaoName)); if ($entity) { $expFields = civicrm_api3($entity, 'getfields', [])['values']; } @@ -7759,7 +7757,7 @@ protected function getCustomDataDAOs(array $extends): array { } } foreach ($this->_columns as $spec) { - $entityName = (isset($spec['bao']) ? CRM_Core_DAO_AllCoreTables::getBriefName(str_replace('BAO', 'DAO', $spec['bao'])) : ''); + $entityName = (isset($spec['bao']) ? CRM_Core_DAO_AllCoreTables::getEntityNameForClass(str_replace('BAO', 'DAO', $spec['bao'])) : ''); if ($entityName && !empty($extendsEntities[$entityName])) { $extendsMap[$entityName][$spec['prefix']] = $spec['prefix_label']; } diff --git a/info.xml b/info.xml index 506da97a..d9c426c1 100644 --- a/info.xml +++ b/info.xml @@ -14,11 +14,11 @@ Eileen McNaughton eileen@fuzion.co.nz - 2024-02-10 - 6.0.0 + 2024-05-09 + 6.0.1 stable - 5.69 + 5.72 Extended reports create other report options such as crosstab urls, multiple contact custom fields, price set reports