update CRM_Report_Form->addCustomDataToColumns so it can correctly handle multi-selects
authorJude Hungerford <jude.hungerford@asylumseekerscentre.org.au>
Mon, 16 Nov 2020 05:11:46 +0000 (16:11 +1100)
committerJude Hungerford <jude.hungerford@asylumseekerscentre.org.au>
Mon, 16 Nov 2020 05:11:46 +0000 (16:11 +1100)
CRM/Report/Form.php

index 1099be3bb0eca5c04c7c70a92eab408603647cc9..b70d4869e6aca0ba6119eda19106678cfd8acc18 100644 (file)
@@ -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