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 #19087 from civicrm/5.32
[civicrm-core.git]
/
Civi
/
Api4
/
Query
/
SqlFunctionMIN.php
diff --git
a/Civi/Api4/Query/SqlFunctionMIN.php
b/Civi/Api4/Query/SqlFunctionMIN.php
index 993a5b18eb876e2447b916c6ae4a6e99dc0e0d46..f5fe4e86bd5793158142d0817b6796da128ce8da 100644
(file)
--- a/
Civi/Api4/Query/SqlFunctionMIN.php
+++ b/
Civi/Api4/Query/SqlFunctionMIN.php
@@
-16,6
+16,10
@@
namespace Civi\Api4\Query;
*/
class SqlFunctionMIN extends SqlFunction {
*/
class SqlFunctionMIN extends SqlFunction {
+ public $supportsExpansion = TRUE;
+
+ protected static $category = self::CATEGORY_AGGREGATE;
+
protected static $params = [
[
'prefix' => ['', 'DISTINCT', 'ALL'],
protected static $params = [
[
'prefix' => ['', 'DISTINCT', 'ALL'],
@@
-24,4
+28,11
@@
class SqlFunctionMIN extends SqlFunction {
],
];
],
];
+ /**
+ * @return string
+ */
+ public static function getTitle(): string {
+ return ts('Min');
+ }
+
}
}