SearchKit - Support custom fields in bridge join entities
authorColeman Watts <coleman@civicrm.org>
Thu, 9 Sep 2021 21:50:57 +0000 (17:50 -0400)
committerColeman Watts <coleman@civicrm.org>
Thu, 9 Sep 2021 21:50:57 +0000 (17:50 -0400)
commit07e7a46bc490f22a7caaaa3a555776b2cffe8314
tree0a6d6426c6b2888f48686a6e90950b225f8ef8ed
parentd65bc11d056ccfdfe55ff672569612ee73460679
SearchKit - Support custom fields in bridge join entities

This fixes bridge joins in APIv4 to allow selecting custom fields that belong to the bridge entity
as if they were part of the joined entity. This was already working for core fields.
Civi/Api4/Query/Api4SelectQuery.php
ext/search_kit/ang/crmSearchAdmin/crmSearchAdmin.component.js
tests/phpunit/api/v4/Action/BasicCustomFieldTest.php