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:
7cb379d
)
Fix regression on activity detail report add to group
author
eileen
<emcnaughton@wikimedia.org>
Thu, 18 Oct 2018 20:57:47 +0000
(09:57 +1300)
committer
eileen
<emcnaughton@wikimedia.org>
Thu, 18 Oct 2018 20:57:47 +0000
(09:57 +1300)
CRM/Report/Form/Activity.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Report/Form/Activity.php
b/CRM/Report/Form/Activity.php
index 25d19b48a16a9d5b73ff935e754385a945d77f36..a2c95fe8a59f310a3b55bfc652497c677ca5fda6 100644
(file)
--- a/
CRM/Report/Form/Activity.php
+++ b/
CRM/Report/Form/Activity.php
@@
-693,7
+693,7
@@
class CRM_Report_Form_Activity extends CRM_Report_Form {
$new_having = ' addtogroup_contact_id';
$having = str_ireplace(' civicrm_contact_contact_target_id', $new_having, $this->_having);
$query = "$select
-FROM {$this->temporaryTables['activity_temp_table']} tar
+FROM {$this->temporaryTables['activity_temp_table']
['name']
} tar
GROUP BY civicrm_activity_id $having {$this->_orderBy}";
$select = 'AS addtogroup_contact_id';
$query = str_ireplace('AS civicrm_contact_contact_target_id', $select, $query);