ContactSummary - Exclude deleted contacts from relationship tab
authorcolemanw <coleman@civicrm.org>
Wed, 20 Dec 2023 19:14:10 +0000 (14:14 -0500)
committercolemanw <coleman@civicrm.org>
Wed, 20 Dec 2023 19:14:10 +0000 (14:14 -0500)
managed/contactSummary/SavedSearch_Contact_Summary_Relationships.mgd.php

index c2739138b75f46e0f0f4140bf7b1bd57767da180..789b3eefe4cc86b0110b205113b78139edd780a9 100644 (file)
@@ -45,7 +45,9 @@ return [
             'is_active',
           ],
           'orderBy' => [],
-          'where' => [],
+          'where' => [
+            ['RelationshipCache_Contact_far_contact_id_01.is_deleted', '=', FALSE],
+          ],
           'groupBy' => [],
           'join' => $joins,
           'having' => [],