Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-21831

When grouping contribution details report by payment method, the group heading is no longer showing the contribution total, only row count

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No
    • Overview:
      When grouping by payment method with the header option, should include the contribution total with the header.
    • How it works currently:
      Hide
      Using the "Contribution Details" report, sort by "Payment Method" and tick the box "Section Header / Group By".

      You now see, for example, "Payment Method: Credit Card (50)"
      Show
      Using the "Contribution Details" report, sort by "Payment Method" and tick the box "Section Header / Group By". You now see, for example, "Payment Method: Credit Card (50)"
    • How it should work:
      Before we updated recently to 4.7.30, this header also included the contribution total, for example, "Payment Instrument: Credit Card (29 contributions: $ 5,066.00)"

      Description

      Using the "Contribution Details" report, sort by "Payment Method" and tick the box "Section Header / Group By".

      You now see, for example, "Payment Method: Credit Card (50)"

      Before we updated recently to 4.7.30, this header also included the contribution total, for example, "Payment Instrument: Credit Card (29 contributions: $ 5,066.00)"

      This particular site was updated from 4.7.6 to 4.7.30, a large gap, so I am not sure at what point the total stopped showing.

      The total does not show up on the demo site either (4.7.32).

      The following errors appear when viewing the report on the demo site. Unsure if related:

      • Notice: Undefined variable: showsumcontribs in CRM_Report_Form_Contribute_Detail->sectionTotals() (line 874 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/CRM/Report/Form/Contribute/Detail.php).
      • Notice: Undefined variable: showsumcontribs in CRM_Report_Form_Contribute_Detail->sectionTotals() (line 887 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/CRM/Report/Form/Contribute/Detail.php).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              freeform.steph Stephanie Gray
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: