From: Alice Frumin Date: Tue, 18 Dec 2018 22:41:39 +0000 (-0500) Subject: Link the Amount field to the contribution in the Contribution Detail Report X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a46b6987ba866c3be1533b54def60e5c025f5312;p=civicrm-core.git Link the Amount field to the contribution in the Contribution Detail Report --- diff --git a/CRM/Report/Form/Contribute/Detail.php b/CRM/Report/Form/Contribute/Detail.php index 5764cbd911..9aad4c0d85 100644 --- a/CRM/Report/Form/Contribute/Detail.php +++ b/CRM/Report/Form/Contribute/Detail.php @@ -706,7 +706,7 @@ UNION ALL } // Contribution amount links to viewing contribution - if (($value = CRM_Utils_Array::value('civicrm_contribution_total_amount', $row)) && + if (($value = CRM_Utils_Array::value('civicrm_contribution_total_amount_sum', $row)) && CRM_Core_Permission::check('access CiviContribute') ) { $url = CRM_Utils_System::url("civicrm/contact/view/contribution", @@ -715,8 +715,8 @@ UNION ALL "&action=view&context=contribution&selectedChild=contribute", $this->_absoluteUrl ); - $rows[$rowNum]['civicrm_contribution_total_amount_link'] = $url; - $rows[$rowNum]['civicrm_contribution_total_amount_hover'] = ts("View Details of this Contribution."); + $rows[$rowNum]['civicrm_contribution_total_amount_sum_link'] = $url; + $rows[$rowNum]['civicrm_contribution_total_amount_sum_hover'] = ts("View Details of this Contribution."); $entryFound = TRUE; }