From d1f8c25e414091fd9a4480de7461224d9621fd65 Mon Sep 17 00:00:00 2001 From: Jude Hungerford Date: Mon, 16 Nov 2020 16:11:46 +1100 Subject: [PATCH] update CRM_Report_Form->addCustomDataToColumns so it can correctly handle multi-selects --- CRM/Report/Form.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php index 1099be3bb0..b70d4869e6 100644 --- a/CRM/Report/Form.php +++ b/CRM/Report/Form.php @@ -3912,7 +3912,8 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND } $sql = " SELECT cg.table_name, cg.title, cg.extends, cf.id as cf_id, cf.label, - cf.column_name, cf.data_type, cf.html_type, cf.option_group_id, cf.time_format + cf.column_name, cf.data_type, cf.html_type, cf.option_group_id, cf.time_format, + cf.serialize as serialize FROM civicrm_custom_group cg INNER JOIN civicrm_custom_field cf ON cg.id = cf.custom_group_id WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND -- 2.25.1