APIv4 - Allow creator to read `UserJob` and `Queue` records
[civicrm-core.git] / Civi / Api4 / OptionValue.php
index 0b62c189b5e93c50765dd6a847949c68a46fb1ac..a3486c3e7c766bcd44a79a36e5c19b14db5864a8 100644 (file)
@@ -15,11 +15,13 @@ namespace Civi\Api4;
  *
  * @see \Civi\Api4\OptionGroup
  * @searchable secondary
+ * @orderBy weight
+ * @groupWeightsBy option_group_id
  * @since 5.19
  * @package Civi\Api4
  */
 class OptionValue extends Generic\DAOEntity {
-  use Generic\Traits\OptionList;
   use Generic\Traits\ManagedEntity;
+  use Generic\Traits\SortableEntity;
 
 }