SearchKit - Change @searchable annotation from boolean to option list
[civicrm-core.git] / Civi / Api4 / CustomValue.php
index 8b9b3411dbee39b40812966521e0c02d5d34be26..40b4d96160814290585125f1c32e6c7639f70c60 100644 (file)
@@ -142,7 +142,7 @@ class CustomValue {
     return [
       'class' => __CLASS__,
       'type' => ['CustomValue'],
-      'searchable' => TRUE,
+      'searchable' => 'secondary',
       'see' => [
         'https://docs.civicrm.org/user/en/latest/organising-your-data/creating-custom-fields/#multiple-record-fieldsets',
         '\Civi\Api4\CustomGroup',