Merge pull request #19087 from civicrm/5.32
[civicrm-core.git] / Civi / Api4 / Query / SqlFunctionMIN.php
index 29c313452fc6c94abcbf4ff1cd20ed66542065a1..f5fe4e86bd5793158142d0817b6796da128ce8da 100644 (file)
@@ -16,6 +16,8 @@ namespace Civi\Api4\Query;
  */
 class SqlFunctionMIN extends SqlFunction {
 
+  public $supportsExpansion = TRUE;
+
   protected static $category = self::CATEGORY_AGGREGATE;
 
   protected static $params = [
@@ -26,4 +28,11 @@ class SqlFunctionMIN extends SqlFunction {
     ],
   ];
 
+  /**
+   * @return string
+   */
+  public static function getTitle(): string {
+    return ts('Min');
+  }
+
 }