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 #19030 from civicrm/5.32
[civicrm-core.git]
/
Civi
/
Api4
/
Query
/
SqlFunctionMAX.php
diff --git
a/Civi/Api4/Query/SqlFunctionMAX.php
b/Civi/Api4/Query/SqlFunctionMAX.php
index f80ebeea15abfb7fb804642d675ea920f6950400..c783d2cab712332f205ef60704364a691c135678 100644
(file)
--- a/
Civi/Api4/Query/SqlFunctionMAX.php
+++ b/
Civi/Api4/Query/SqlFunctionMAX.php
@@
-16,6
+16,10
@@
namespace Civi\Api4\Query;
*/
class SqlFunctionMAX extends SqlFunction {
*/
class SqlFunctionMAX 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 SqlFunctionMAX extends SqlFunction {
],
];
],
];
+ /**
+ * @return string
+ */
+ public static function getTitle(): string {
+ return ts('Max');
+ }
+
}
}