SearchKit - ensure only relevant fields are editable
authorColeman Watts <coleman@civicrm.org>
Mon, 9 May 2022 00:45:21 +0000 (20:45 -0400)
committerColeman Watts <coleman@civicrm.org>
Sat, 21 May 2022 01:30:39 +0000 (21:30 -0400)
commitda9aa6ae21765e7b951b280918d8fef4bb5cdf96
treed33897fdd91fdb7d8e1f24b6868a74578f491812
parent02b62e2e95fa455638ac4bce53c8a370f086aefc
SearchKit - ensure only relevant fields are editable

Fixes dev/core#3423
Ensures that custom fields for one entity sub-type (e.g. Individual) are not
presented as editable for other sub-types (e.g. Organiztion).
ext/search_kit/Civi/Api4/Action/SearchDisplay/AbstractRunAction.php
ext/search_kit/tests/phpunit/api/v4/SearchDisplay/SearchRunTest.php
ext/search_kit/tests/phpunit/api/v4/SearchDisplay/SearchRunWithCustomFieldTest.php