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

Making a report that filters on custom data throws an error if that data is not displayed

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.3.6
    • Fix Version/s: 4.1.0
    • Component/s: CiviReport
    • Labels:
      None

      Description

      Making a custom report from the constituents summary template, I used a custom field to filter (IS NULL), but didn't include it as a display column. This led to an 'unknown column' error because the query did not have a left join to the custom data table.

      Adding the field as a display field caused the left join to be added and the report to display.

        Attachments

          Activity

            People

            • Assignee:
              rajan Rajan P Mayekar
              Reporter:
              mattgibson Matt Gibson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: