Skip to content
Snippets Groups Projects
Commit 6b16e762 authored by Deepak Srivastava's avatar Deepak Srivastava
Browse files

CRM-12309

parent 9357a775
No related branches found
No related tags found
No related merge requests found
......@@ -456,7 +456,8 @@ class CRM_Report_Form_Contribute_Detail extends CRM_Report_Form {
AND emailhonor.is_primary = 1\n";
}
// include contribution note
if (CRM_Utils_Array::value('contribution_note', $this->_params['fields'])) {
if (CRM_Utils_Array::value('contribution_note', $this->_params['fields']) ||
CRM_Utils_Array::value('note_value', $this->_params)) {
$this->_from.= "
LEFT JOIN civicrm_note {$this->_aliases['civicrm_note']}
ON ( {$this->_aliases['civicrm_note']}.entity_table = 'civicrm_contribution' AND
......
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