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:
22601c9
)
Search ext: Support is_deleted field but not api_key or hash
author
Coleman Watts
<coleman@civicrm.org>
Wed, 14 Oct 2020 19:53:34 +0000
(15:53 -0400)
committer
Coleman Watts
<coleman@civicrm.org>
Wed, 14 Oct 2020 19:53:34 +0000
(15:53 -0400)
ext/search/Civi/Search/Admin.php
patch
|
blob
|
blame
|
history
diff --git
a/ext/search/Civi/Search/Admin.php
b/ext/search/Civi/Search/Admin.php
index 6ddc792a0f84e36afad94762bbdc95ac48885458..4cbc53d1145448c6846a1261e29d77b72c251fef 100644
(file)
--- a/
ext/search/Civi/Search/Admin.php
+++ b/
ext/search/Civi/Search/Admin.php
@@
-68,7
+68,7
@@
class Admin {
if ($entity['get']) {
$entity['fields'] = civicrm_api4($entity['name'], 'getFields', [
'select' => $getFields,
- 'where' => [['
permission', 'IS NULL'
]],
+ 'where' => [['
name', 'NOT IN', ['api_key', 'hash']
]],
'orderBy' => ['label'],
]);
$params = $entity['get'][0];