CRM-16574 'Group by' function limits Summary report functionality

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.3
    • Fix Version/s: 4.6.4
    • Component/s: CiviReport
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      If you run the Contribution Summary report, and do NOT group by date, and filter by date, you get the error message: "Do not use filter on Date if group by Receive Date is not used". As stated in https://forum.civicrm.org/index.php?topic=35650.0 this seems to be legacy code.

      It seems desirable to be able to filter the contribution on a date and group the outcome by financial type or (now missing from the report) contribution status. PR is on it's way. Hopefully a small fix that can be merged in 4.6.4

        Attachments

          Activity

          [CRM-16574] 'Group by' function limits Summary report functionality
          Richard added a comment - - edited

          Fix for grouping by other parameters than the receive date when also using the receive date as a filter. Also added Contribution Status as a regular and 'group by' field. And finally changed order of contribution average and total fields so it starts with the count of contributions. https://github.com/civicrm/civicrm-core/pull/5912

          David Greenberg added a comment -

          Can you review PR after style warnings are corrected? Thanks!

          Monish Deb added a comment -

          Great work Richard Submitted the new PR https://github.com/civicrm/civicrm-core/pull/5964 (cherrypicked your commits) with additional format and notice fixes

          Tested and merged

            People

            • Assignee:
              Monish Deb
              Reporter:
              Richard

              Dates

              • Created:
                Updated:
                Resolved: