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

Activity Report: move the SQL creation to a buildQuery function

    Details

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

      Description

      Code cleanup for the Activity Report. This fixes a bug with the civiexportexcel extension, for exporting to xlsx format directly. Since that extension does not call the postProcess function directly, reports must implement the appropriate functions (such as buildQuery) – and most do (don't worry, I'm not about to send 1001 pull-requests, I have been using this extension for a few years, but apparently rarely used the Activity Report).

      Before

      It was causing a fatal error when exporting to Excel.

      After

      It exports as expected.

        Attachments

          Activity

            People

            • Assignee:
              mlutfy Mathieu Lutfy
              Reporter:
              mlutfy Mathieu Lutfy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: