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

Do not heed dao default for field when setting defaults on reports

    Details

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

      Description

      When defining column metadata for a report it is somewhat advised to declare the 'bao' or 'dao' so that information can be drawn from it. However, the values are being copied across from the DAO a little too aggressively. In particular 'default' is copied across, but this is a data-saving default and has no particular bearing on which columns, or group bys should be on by default for a report.

       

      (on checking extended report I seem to have changed this there some time back & I am looking to port some of the code improvements (but not the extra reports) from there into core going forwards)

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: