Skip to content
Snippets Groups Projects
Unverified Commit f01f6ac0 authored by yashodha's avatar yashodha Committed by GitHub
Browse files

Merge pull request #13350 from francescbassas/patch-16

#620 - Unable to show custom fields on Repeat Contributions Report
parents 29e86a0c 5210bcce
Branches
Tags
No related merge requests found
......@@ -574,7 +574,7 @@ LEFT JOIN $this->tempTableRepeat2 {$this->_aliases['civicrm_contribution']}2
}
else {
foreach ($fields['fields'] as $fld_id => $value) {
if (!($fld_id == 'total_amount1') && !($fld_id == 'total_amount2')) {
if (!($fld_id == 'total_amount1') && !($fld_id == 'total_amount2') && !(substr($fld_id, 0, 7) === "custom_")) {
$found = FALSE;
$invlidGroups = array();
foreach ($fields['group_bys'] as $grp_id => $val) {
......@@ -833,6 +833,7 @@ GROUP BY currency
$this->buildGroupTempTable();
$this->select();
$this->from();
$this->customDataFrom();
$this->where();
$this->groupBy();
$this->orderBy();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment