Metadata - Add label field for SavedSearch
authorColeman Watts <coleman@civicrm.org>
Fri, 5 Aug 2022 18:17:38 +0000 (14:17 -0400)
committerColeman Watts <coleman@civicrm.org>
Fri, 5 Aug 2022 18:17:38 +0000 (14:17 -0400)
CRM/Contact/DAO/SavedSearch.php
xml/schema/Contact/SavedSearch.xml

index 1d52252db88b8d29a6971800a61b8cf36bcc1a06..2a7ff17ee31754861cec0573170520b00336f8f1 100644 (file)
@@ -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.
    *
index b3a7ee515f757477bc8a8509b3e697c7007ce745..4eafe74051dbe737737b96da9958869a5714edcc 100644 (file)
@@ -6,6 +6,7 @@
   <name>civicrm_saved_search</name>
   <comment>Users can save their complex SQL queries and use them later.</comment>
   <icon>fa-search-plus</icon>
+  <labelField>label</labelField>
   <add>1.1</add>
   <field>
     <name>id</name>