projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27acac3
)
SearchKit - Add breadcrumb to saved searches from search display view
author
Coleman Watts
<coleman@civicrm.org>
Sat, 6 Mar 2021 16:36:38 +0000
(11:36 -0500)
committer
Coleman Watts
<coleman@civicrm.org>
Sat, 6 Mar 2021 16:36:38 +0000
(11:36 -0500)
ext/search/CRM/Search/Page/Search.php
patch
|
blob
|
blame
|
history
diff --git
a/ext/search/CRM/Search/Page/Search.php
b/ext/search/CRM/Search/Page/Search.php
index 053a8eeacb81ab708a364f1892859b43cf04556c..ffd4ce40cde76d3b06badf3411b07600f80d1f2e 100644
(file)
--- a/
ext/search/CRM/Search/Page/Search.php
+++ b/
ext/search/CRM/Search/Page/Search.php
@@
-9,6
+9,8
@@
+--------------------------------------------------------------------+
*/
+use CRM_Search_ExtensionUtil as E;
+
/**
* Angular base page for search admin
*/
@@
-24,6
+26,10
@@
class CRM_Search_Page_Search extends CRM_Core_Page {
$loader->useApp();
$loader->load();
+ if (CRM_Core_Permission::check('administer CiviCRM')) {
+ CRM_Utils_System::appendBreadCrumb([['title' => E::ts('Search Kit'), 'url' => CRM_Utils_System::url('civicrm/admin/search')]]);
+ }
+
parent::run();
}