From: Coleman Watts Date: Fri, 5 Aug 2022 18:17:38 +0000 (-0400) Subject: Metadata - Add label field for SavedSearch X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=fb81d3822bdbbac51e21816aff1e43da872e8810;p=civicrm-core.git Metadata - Add label field for SavedSearch --- diff --git a/CRM/Contact/DAO/SavedSearch.php b/CRM/Contact/DAO/SavedSearch.php index 1d52252db8..2a7ff17ee3 100644 --- a/CRM/Contact/DAO/SavedSearch.php +++ b/CRM/Contact/DAO/SavedSearch.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contact/SavedSearch.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:1b324e028960b1c8fd94ecdc973a6fdc) + * (GenCodeChecksum:463e44ca73e5b034502fcc1605f5a9c2) */ /** @@ -30,6 +30,13 @@ class CRM_Contact_DAO_SavedSearch extends CRM_Core_DAO { */ public static $_icon = 'fa-search-plus'; + /** + * Field to show when displaying a record. + * + * @var string + */ + public static $_labelField = 'label'; + /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * diff --git a/xml/schema/Contact/SavedSearch.xml b/xml/schema/Contact/SavedSearch.xml index b3a7ee515f..4eafe74051 100644 --- a/xml/schema/Contact/SavedSearch.xml +++ b/xml/schema/Contact/SavedSearch.xml @@ -6,6 +6,7 @@ civicrm_saved_search Users can save their complex SQL queries and use them later. fa-search-plus + label 1.1 id