projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
474538c
)
Mailing Summary Report: support pseudofields
author
Mathieu Lutfy
<mathieu@symbiotic.coop>
Sat, 11 Feb 2023 17:52:09 +0000
(12:52 -0500)
committer
bgm
<bgm@erdenet.bidon.ca>
Sat, 11 Feb 2023 17:52:09 +0000
(12:52 -0500)
CRM/Report/Form/Mailing/Summary.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Report/Form/Mailing/Summary.php
b/CRM/Report/Form/Mailing/Summary.php
index a5b40355316f5ef78cc2d23ce155ec309c7781ff..61a6424aae4a339b5e6fcb01b3685847b90b22b3 100644
(file)
--- a/
CRM/Report/Form/Mailing/Summary.php
+++ b/
CRM/Report/Form/Mailing/Summary.php
@@
-334,9
+334,11
@@
class CRM_Report_Form_Mailing_Summary extends CRM_Report_Form {
foreach ($this->_columns as $tableName => $table) {
if (array_key_exists('fields', $table)) {
foreach ($table['fields'] as $fieldName => $field) {
+ if (!empty($field['pseudofield'])) {
+ continue;
+ }
if (!empty($field['required']) || !empty($this->_params['fields'][$fieldName])) {
-
- # for statistics
+ // For statistics
if (!empty($field['statistics'])) {
switch ($field['statistics']['calc']) {
case 'PERCENTAGE':