projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #23814 from civicrm/5.51
[civicrm-core.git]
/
Civi
/
Api4
/
Query
/
SqlFunctionCOUNT.php
diff --git
a/Civi/Api4/Query/SqlFunctionCOUNT.php
b/Civi/Api4/Query/SqlFunctionCOUNT.php
index c51e024856ab1730f3ca109ed40617470b3b869c..360ce7d8af0a0f9c979185521ae935a3199e5829 100644
(file)
--- a/
Civi/Api4/Query/SqlFunctionCOUNT.php
+++ b/
Civi/Api4/Query/SqlFunctionCOUNT.php
@@
-26,7
+26,6
@@
class SqlFunctionCOUNT extends SqlFunction {
'flag_before' => ['DISTINCT' => ts('Distinct')],
'max_expr' => 1,
'must_be' => ['SqlField', 'SqlWild'],
'flag_before' => ['DISTINCT' => ts('Distinct')],
'max_expr' => 1,
'must_be' => ['SqlField', 'SqlWild'],
- 'cant_be' => [],
],
];
}
],
];
}
@@
-38,4
+37,11
@@
class SqlFunctionCOUNT extends SqlFunction {
return ts('Count');
}
return ts('Count');
}
+ /**
+ * @return string
+ */
+ public static function getDescription(): string {
+ return ts('The number of items in the grouping.');
+ }
+
}
}