SearchKit - Exclude custom fields from ON clause selector
authorColeman Watts <coleman@civicrm.org>
Thu, 16 Sep 2021 04:37:13 +0000 (00:37 -0400)
committerColeman Watts <coleman@civicrm.org>
Thu, 16 Sep 2021 04:37:13 +0000 (00:37 -0400)
commitba149e212b56b56da04dc336375d8c6199773d10
tree309ac746fdc12e35ae19c2fe85a653455f91a741
parent778d3aa97c403f47f58e223573640db6d5e73f38
SearchKit - Exclude custom fields from ON clause selector

Custom fields cannot as-yet be added to an ON clause in APIv4
because they do not belong to the tables being joined.

This removes the tripping hazard from the UI, by making custom fields
unavailable to select in an ON clause.
Civi/Api4/Service/Spec/SpecFormatter.php
ext/search_kit/ang/crmSearchAdmin/crmSearchAdmin.component.js
tests/phpunit/api/v4/Action/CustomValueTest.php