From 812fe84d4c59d269b3dd227c6e4a4c77258cecca Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sun, 28 Nov 2021 20:27:17 -0500 Subject: [PATCH] SearchKit - Enable for CustomField, CustomGroup & LocationType --- CRM/Core/DAO/CustomGroup.php | 4 ++-- Civi/Api4/CustomField.php | 2 +- Civi/Api4/CustomGroup.php | 2 +- Civi/Api4/LocationType.php | 2 +- xml/schema/Core/CustomGroup.xml | 1 + 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CRM/Core/DAO/CustomGroup.php b/CRM/Core/DAO/CustomGroup.php index 94da2fa579..70015686b6 100644 --- a/CRM/Core/DAO/CustomGroup.php +++ b/CRM/Core/DAO/CustomGroup.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/CustomGroup.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:fbf405c2b8b04de06a84977970ae8b02) + * (GenCodeChecksum:e06fe97917806daa0d337c43968ccf2b) */ /** @@ -206,7 +206,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO { * Whether to return the plural version of the title. */ public static function getEntityTitle($plural = FALSE) { - return $plural ? ts('Custom Groups') : ts('Custom Group'); + return $plural ? ts('Custom Field Groups') : ts('Custom Field Group'); } /** diff --git a/Civi/Api4/CustomField.php b/Civi/Api4/CustomField.php index 533644f548..d92f51c97c 100644 --- a/Civi/Api4/CustomField.php +++ b/Civi/Api4/CustomField.php @@ -14,7 +14,7 @@ namespace Civi\Api4; * CustomField entity. * * @see https://docs.civicrm.org/user/en/latest/organising-your-data/creating-custom-fields/ - * @searchable none + * @searchable secondary * @since 5.19 * @package Civi\Api4 */ diff --git a/Civi/Api4/CustomGroup.php b/Civi/Api4/CustomGroup.php index 11473bdaaf..bee078777b 100644 --- a/Civi/Api4/CustomGroup.php +++ b/Civi/Api4/CustomGroup.php @@ -14,7 +14,7 @@ namespace Civi\Api4; * CustomGroup entity. * * @see https://docs.civicrm.org/user/en/latest/organising-your-data/creating-custom-fields/ - * @searchable none + * @searchable secondary * @since 5.19 * @package Civi\Api4 */ diff --git a/Civi/Api4/LocationType.php b/Civi/Api4/LocationType.php index a3b282dace..dfffee1f10 100644 --- a/Civi/Api4/LocationType.php +++ b/Civi/Api4/LocationType.php @@ -13,7 +13,7 @@ namespace Civi\Api4; /** * LocationType entity. * - * @searchable none + * @searchable secondary * @since 5.19 * @package Civi\Api4 */ diff --git a/xml/schema/Core/CustomGroup.xml b/xml/schema/Core/CustomGroup.xml index 5fec960339..c3f52a8441 100644 --- a/xml/schema/Core/CustomGroup.xml +++ b/xml/schema/Core/CustomGroup.xml @@ -8,6 +8,7 @@ 1.1 true + Custom Field Group title id -- 2.25.1