projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add CONCAT_WS fn to APIv4 and UI support in SearchKit
[civicrm-core.git]
/
Civi
/
Api4
/
Query
/
SqlFunctionCOALESCE.php
diff --git
a/Civi/Api4/Query/SqlFunctionCOALESCE.php
b/Civi/Api4/Query/SqlFunctionCOALESCE.php
index fc5765f6dfe17c1336a07e7d0c019c392cb4e2fd..5264e04ef1432beeb220bed94daf4db6860eab86 100644
(file)
--- a/
Civi/Api4/Query/SqlFunctionCOALESCE.php
+++ b/
Civi/Api4/Query/SqlFunctionCOALESCE.php
@@
-25,6
+25,10
@@
class SqlFunctionCOALESCE extends SqlFunction {
[
'max_expr' => 99,
'optional' => FALSE,
+ 'ui_defaults' => [
+ ['type' => 'SqlField', 'placeholder' => ts('If')],
+ ['type' => 'SqlField', 'placeholder' => ts('Else')],
+ ],
],
];
}