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

CiviReport Change: $this->_options array partially ignored

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.6.3
    • Fix Version/s: Unscheduled
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      Developer Doc
    • Funding Source:
      Needs Funding

      Description

      CiviReport offers developers a way to add options to the report form that are unrelated to the columns to be added to the SQL call. Several of the core reports make use of this feature including the "Participant List count report". Adding a checkbox to the report no longer works in the way it used to.

      To reproduce on demo:

      It is not limited to this report. Other reports in core and one we have in the tax extension are affected.

      I also wonder is this still the recommended way to add additional options to reports?
      I found mention in this issue (https://issues.civicrm.org/jira/browse/CRM-15695) of a hook to alter the report columns: CRM_Utils_Hook::alterReportVar('columns', $this->_columns, $this)

      If this hook is recommended however it is not documented on the wiki: http://wiki.civicrm.org/confluence/display/CRMDOC/Hook+Reference

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lola_slade Lola Slade
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: