X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Civi%2FApi4%2FCustomField.php;h=37be6eb2b45f37b12722bbdac56a6e18ad4d57b8;hb=29ccf10e8f1abd531344e6acf046053e0d8edfba;hp=c308738a962e909f5df5a2f717294150e49757a4;hpb=33dec643dc0acf026269b97d9d29bfa6a83e8d2d;p=civicrm-core.git diff --git a/Civi/Api4/CustomField.php b/Civi/Api4/CustomField.php index c308738a96..37be6eb2b4 100644 --- a/Civi/Api4/CustomField.php +++ b/Civi/Api4/CustomField.php @@ -14,10 +14,13 @@ namespace Civi\Api4; * CustomField entity. * * @see https://docs.civicrm.org/user/en/latest/organising-your-data/creating-custom-fields/ - * @searchable none + * @searchable secondary + * @orderBy weight * @since 5.19 * @package Civi\Api4 */ class CustomField extends Generic\DAOEntity { + use Generic\Traits\ManagedEntity; + use Generic\Traits\SortableEntity; }