From 5c237603b694e7ee8c9c3c6d8759d68b7b95dade Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 23 Mar 2015 18:23:53 -0400 Subject: [PATCH] Fix pseudoconstants in RelationshipType schema --- xml/schema/Contact/RelationshipType.xml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/xml/schema/Contact/RelationshipType.xml b/xml/schema/Contact/RelationshipType.xml index 21d2e768b8..705a265a3c 100644 --- a/xml/schema/Contact/RelationshipType.xml +++ b/xml/schema/Contact/RelationshipType.xml @@ -66,7 +66,10 @@ 12 If defined, contact_a in a relationship of this type must be a specific contact_type. - CRM_Contact_BAO_ContactType::getSelectElements + civicrm_contact_type
+ name + label + parent_id IS NULL
1.1 @@ -80,7 +83,10 @@ 12 If defined, contact_b in a relationship of this type must be a specific contact_type. - CRM_Contact_BAO_ContactType::getSelectElements + civicrm_contact_type
+ name + label + parent_id IS NULL
1.1 @@ -98,6 +104,12 @@ Select + + civicrm_contact_type
+ name + label + parent_id IS NOT NULL +
contact_sub_type_b @@ -110,6 +122,12 @@ Select + + civicrm_contact_type
+ name + label + parent_id IS NOT NULL +
is_reserved -- 2.25.1