Skip to content
Snippets Groups Projects
Unverified Commit 5dab22cf authored by JonGold's avatar JonGold
Browse files

Reporting #20 - correct stats when force=1 on Contribution Detail Report

parent d4973d0e
No related merge requests found
......@@ -183,6 +183,7 @@ class CRM_Report_Form_Contribute_Detail extends CRM_Report_Form {
'soft_credits_only' => ts('Soft Credits Only'),
'both' => ts('Both'),
],
'default' => 'contributions_only',
],
'receive_date' => ['operatorType' => CRM_Report_Form::OP_DATE],
'receipt_date' => ['operatorType' => CRM_Report_Form::OP_DATE],
......@@ -534,7 +535,7 @@ GROUP BY {$this->_aliases['civicrm_contribution']}.currency";
$this->noDisplayContributionOrSoftColumn = TRUE;
}
if (CRM_Utils_Array::value('contribution_or_soft_value', $this->_params, 'contributions_only') == 'contributions_only') {
if (CRM_Utils_Array::value('contribution_or_soft_value', $this->_params) == 'contributions_only') {
$this->isContributionBaseMode = TRUE;
}
if ($this->isContributionBaseMode &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment