CRM-8021 Relationship column name change breaks view

    Details

      Description

      The column name civicrm_relationship_type appears to have changed in recent versions. When creating a relationship view, the names of the relationships are not displayed for 'CiviCRM Relationships: Relationship Type A-to-B.' Instead, it's just a list of checkboxes with no labels.

      Attached is the patch for:
      civicrm/drupal/modules/views/civicrm/civicrm_handler_filter_relationship_type.inc

        Attachments

          Activity

          [CRM-8021] Relationship column name change breaks view
          Dharmatech added a comment -

          Sorry for the confusion, the column name didn't change.

          The call to:
          CRM_Core_PseudoConstant::relationshipType($columnName = 'name');

          returns 'name_a_b' but the view handler is expecting 'label_a_b'.

            People

            • Assignee:
              Donald A. Lobo
              Reporter:
              Dharmatech

              Dates

              • Created:
                Updated:
                Resolved: