SearchKit - Fix display of contact reference fields (single-value)
authorColeman Watts <coleman@civicrm.org>
Wed, 21 Apr 2021 19:27:52 +0000 (15:27 -0400)
committerColeman Watts <coleman@civicrm.org>
Wed, 21 Apr 2021 22:10:01 +0000 (18:10 -0400)
commitede387bbf5478b96f53684383e19213920c9fef6
tree288d45c464b9a61b84c0a063e559f04c248808c9
parent5a74121332c18cf34dea22259b22c601fc3ae885
SearchKit - Fix display of contact reference fields (single-value)

This fixes the display of contact reference fields, giving feature parity
with other FK fields. Both ID and Display Name are shown as available columns.

This does not address the more difficult question of how to join
multi-valued contact reference fields with contact display names.
Civi/Api4/Service/Schema/SchemaMapBuilder.php
ext/search/Civi/Search/Admin.php
ext/search/ang/crmSearchAdmin.module.js
tests/phpunit/api/v4/Action/CustomJoinTest.php [new file with mode: 0644]
tests/phpunit/api/v4/AllTests.php