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:
cfffbd3
)
SearchKit - Remove irrelevant link from default display
author
colemanw
<coleman@civicrm.org>
Wed, 12 Jul 2023 17:51:21 +0000
(13:51 -0400)
committer
colemanw
<coleman@civicrm.org>
Wed, 12 Jul 2023 17:51:21 +0000
(13:51 -0400)
ext/search_kit/Civi/Search/Display.php
patch
|
blob
|
blame
|
history
diff --git
a/ext/search_kit/Civi/Search/Display.php
b/ext/search_kit/Civi/Search/Display.php
index 2bb5393d33f35004ec47a41b4a94b4f3f0f53c72..4c2ba295a5c40dcc9b73ab2104ae12aa357a463d 100644
(file)
--- a/
ext/search_kit/Civi/Search/Display.php
+++ b/
ext/search_kit/Civi/Search/Display.php
@@
-69,7
+69,7
@@
class Display {
}
// If addLabel is false the placeholder needs to be passed through to javascript
$label = $addLabel ?: '%1';
- unset($paths['add']);
+ unset($paths['add']
, $paths['browse']
);
foreach (array_keys($paths) as $actionName) {
$actionKey = \CRM_Core_Action::mapItem($actionName);
$link = [