X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Civi%2FApi4%2FQuery%2FSqlFunctionMIN.php;h=f5fe4e86bd5793158142d0817b6796da128ce8da;hb=95c42d8be0834773e0b606a1c79471f4733060ab;hp=993a5b18eb876e2447b916c6ae4a6e99dc0e0d46;hpb=13250e46fe50b660f2efafb1d6e05ae67b32752f;p=civicrm-core.git diff --git a/Civi/Api4/Query/SqlFunctionMIN.php b/Civi/Api4/Query/SqlFunctionMIN.php index 993a5b18eb..f5fe4e86bd 100644 --- a/Civi/Api4/Query/SqlFunctionMIN.php +++ b/Civi/Api4/Query/SqlFunctionMIN.php @@ -16,6 +16,10 @@ namespace Civi\Api4\Query; */ class SqlFunctionMIN extends SqlFunction { + public $supportsExpansion = TRUE; + + protected static $category = self::CATEGORY_AGGREGATE; + protected static $params = [ [ 'prefix' => ['', 'DISTINCT', 'ALL'], @@ -24,4 +28,11 @@ class SqlFunctionMIN extends SqlFunction { ], ]; + /** + * @return string + */ + public static function getTitle(): string { + return ts('Min'); + } + }