SearchKit - Support all fields as tokens
authorColeman Watts <coleman@civicrm.org>
Fri, 16 Jul 2021 19:09:40 +0000 (15:09 -0400)
committerColeman Watts <coleman@civicrm.org>
Sun, 18 Jul 2021 21:21:53 +0000 (17:21 -0400)
commitc1335819aaad3f6a809bae69cb0b5beed0e7fc79
tree4333a58d5e04b4861280f293f811b5d312836cf8
parente332c7ef64ff9d73981ed68f248c5d836e907d4a
SearchKit - Support all fields as tokens

Previously, only fields present in the SELECT clause could be tokens.
Now the SearchDisplay::Run api will add any fields used as tokens to the SELECT automatically.
ext/search_kit/Civi/Api4/Action/SearchDisplay/Run.php
ext/search_kit/ang/crmSearchAdmin/crmSearchAdminLinkSelect.html
ext/search_kit/ang/crmSearchAdmin/crmSearchAdminTokenSelect.component.js
ext/search_kit/ang/crmSearchAdmin/crmSearchAdminTokenSelect.html
ext/search_kit/ang/crmSearchAdmin/displays/colType/field.html
ext/search_kit/ang/crmSearchAdmin/displays/searchAdminDisplayList.html
ext/search_kit/tests/phpunit/api/v4/SearchDisplay/SearchRunTest.php