From 31c6d00b02f0c9635e257619a3d0997deed6d068 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sat, 9 Apr 2022 20:40:49 -0400 Subject: [PATCH] Add icons for SavedSearch and SearchDisplay entities --- CRM/Contact/DAO/SavedSearch.php | 9 ++++++++- ext/search_kit/CRM/Search/DAO/SearchDisplay.php | 9 ++++++++- ext/search_kit/xml/schema/CRM/Search/SearchDisplay.xml | 1 + xml/schema/Contact/SavedSearch.xml | 1 + 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/CRM/Contact/DAO/SavedSearch.php b/CRM/Contact/DAO/SavedSearch.php index 4666188af3..1d52252db8 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:935938d45a416234d369d2db97a08311) + * (GenCodeChecksum:1b324e028960b1c8fd94ecdc973a6fdc) */ /** @@ -23,6 +23,13 @@ class CRM_Contact_DAO_SavedSearch extends CRM_Core_DAO { */ public static $_tableName = 'civicrm_saved_search'; + /** + * Icon associated with this entity. + * + * @var string + */ + public static $_icon = 'fa-search-plus'; + /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * diff --git a/ext/search_kit/CRM/Search/DAO/SearchDisplay.php b/ext/search_kit/CRM/Search/DAO/SearchDisplay.php index 3ecead8308..033d4b4816 100644 --- a/ext/search_kit/CRM/Search/DAO/SearchDisplay.php +++ b/ext/search_kit/CRM/Search/DAO/SearchDisplay.php @@ -6,7 +6,7 @@ * * Generated from org.civicrm.search_kit/xml/schema/CRM/Search/SearchDisplay.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:d67945fe44bd5c7f1822580239f044ab) + * (GenCodeChecksum:1ba9d436c0e83839fe2b88a9d304762a) */ use CRM_Search_ExtensionUtil as E; @@ -24,6 +24,13 @@ class CRM_Search_DAO_SearchDisplay extends CRM_Core_DAO { */ public static $_tableName = 'civicrm_search_display'; + /** + * Icon associated with this entity. + * + * @var string + */ + public static $_icon = 'fa-clone'; + /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * diff --git a/ext/search_kit/xml/schema/CRM/Search/SearchDisplay.xml b/ext/search_kit/xml/schema/CRM/Search/SearchDisplay.xml index d2dde8906d..e4300979e2 100644 --- a/ext/search_kit/xml/schema/CRM/Search/SearchDisplay.xml +++ b/ext/search_kit/xml/schema/CRM/Search/SearchDisplay.xml @@ -6,6 +6,7 @@ civicrm_search_display Search Kit - saved search displays true + fa-clone id diff --git a/xml/schema/Contact/SavedSearch.xml b/xml/schema/Contact/SavedSearch.xml index 77f5b37229..b3a7ee515f 100644 --- a/xml/schema/Contact/SavedSearch.xml +++ b/xml/schema/Contact/SavedSearch.xml @@ -5,6 +5,7 @@ SavedSearch civicrm_saved_search Users can save their complex SQL queries and use them later. + fa-search-plus 1.1 id -- 2.25.1