From 0ddfa7be006c97693718486ac6a17c02fdaacfe7 Mon Sep 17 00:00:00 2001 From: David Hayes Date: Tue, 7 Mar 2017 19:55:21 -0600 Subject: [PATCH] Fix Relationship (Type) filter on Relationship report template. Any relationship types that were the same bidirectional (eg Sibling of) were completely fitlered out of the list of possibilities on the select box on the filter. --- CRM/Report/Form/Contact/Relationship.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Report/Form/Contact/Relationship.php b/CRM/Report/Form/Contact/Relationship.php index a79187269668..1604c8e83cdc 100644 --- a/CRM/Report/Form/Contact/Relationship.php +++ b/CRM/Report/Form/Contact/Relationship.php @@ -263,7 +263,7 @@ public function __construct() { 'relationship_type_id' => array( 'title' => ts('Relationship'), 'operatorType' => CRM_Report_Form::OP_MULTISELECT, - 'options' => CRM_Contact_BAO_Relationship::getContactRelationshipType(NULL, 'null', NULL, NULL, TRUE), + 'options' => CRM_Contact_BAO_Relationship::getContactRelationshipType(NULL, NULL, NULL, NULL, TRUE), 'type' => CRM_Utils_Type::T_INT, ), 'start_date' => array(