From c0184a48f4e0ed1ba286e4aa9cfa9bb8f0030cac Mon Sep 17 00:00:00 2001 From: Jitendra Purohit Date: Mon, 11 Jun 2018 15:20:58 +0530 Subject: [PATCH] dev/core#175 - Smart group involving relationship type filter display incorrect results --- CRM/Contact/BAO/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/BAO/Query.php b/CRM/Contact/BAO/Query.php index 4e02c364dd..2525c38844 100644 --- a/CRM/Contact/BAO/Query.php +++ b/CRM/Contact/BAO/Query.php @@ -4066,7 +4066,7 @@ WHERE $smartGroupClause $relationType[2] = (array) $relationType[2]; foreach ($relationType[2] as $relType) { $rel = explode('_', $relType); - self::$_relType .= $rel[1]; + self::$_relType = $rel[1]; $params = array('id' => $rel[0]); $typeValues = array(); $rTypeValue = CRM_Contact_BAO_RelationshipType::retrieve($params, $typeValues); -- 2.25.1