From 2eb52b129e0b5b71055879eebc26711c2a9e47cf Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Sat, 18 Feb 2023 23:11:52 +0000 Subject: [PATCH] Allow selecting case for relationship in afform --- CRM/Contact/DAO/Relationship.php | 3 ++- xml/schema/Contact/Relationship.xml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CRM/Contact/DAO/Relationship.php b/CRM/Contact/DAO/Relationship.php index 3a676d714c..cdacc83527 100644 --- a/CRM/Contact/DAO/Relationship.php +++ b/CRM/Contact/DAO/Relationship.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contact/Relationship.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:53d602cd851fdc4afcfa9f2301e20baa) + * (GenCodeChecksum:ea043ab2b1943a9fe5e86ec6a68fedf4) */ /** @@ -406,6 +406,7 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO { 'FKClassName' => 'CRM_Case_DAO_Case', 'component' => 'CiviCase', 'html' => [ + 'type' => 'EntityRef', 'label' => ts("Case"), ], 'add' => '2.2', diff --git a/xml/schema/Contact/Relationship.xml b/xml/schema/Contact/Relationship.xml index ed9cb1ee36..fd121341d7 100644 --- a/xml/schema/Contact/Relationship.xml +++ b/xml/schema/Contact/Relationship.xml @@ -177,6 +177,7 @@ NULL FK to civicrm_case + EntityRef 2.2 -- 2.25.1