APIv4 - Fix GetFields to return custom fields with no sub-type
authorColeman Watts <coleman@civicrm.org>
Wed, 1 Jun 2022 20:36:29 +0000 (16:36 -0400)
committerColeman Watts <coleman@civicrm.org>
Wed, 1 Jun 2022 20:36:29 +0000 (16:36 -0400)
commitf6732365d4ee1d7dd267c155fdcdde4be8e1862f
tree7e25b509a4700dd54e63c8fc4a8b0df0156b1a25
parenta9bd8bf246bb962374575be5fa19a7316e85954e
APIv4 - Fix GetFields to return custom fields with no sub-type

Ensures unconditional custom fields are always present.
Civi/Api4/Service/Spec/SpecGatherer.php
tests/phpunit/api/v4/Custom/CustomFieldGetFieldsTest.php