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

Add support for alterReportVar hook in Activity Report

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.16
    • Fix Version/s: 4.7.23
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      User and Admin Doc
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      Currently, there is no way to modify the Activity report's SQL via an extension, since it has it's own postProcess function and does not rely on CRM/Report/Form.php's buildQuery function. The patch submitted allows one to use the alterReportVar hook to modify the entire SQL query before it is built.

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              edsel Edsel Lopez
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: