SearchKit - Preprocess links only once; use api getLinks action
authorcolemanw <coleman@civicrm.org>
Tue, 19 Dec 2023 15:33:41 +0000 (10:33 -0500)
committercolemanw <coleman@civicrm.org>
Sun, 24 Dec 2023 00:29:21 +0000 (19:29 -0500)
commit80e5ab8752b8e5a1002427cf51acd7f3dbd66dc2
treeac5e4748a45259504dd88c9631a4f152023da680
parent22b23e40e823a64e2af2ac12b023ea4dc85de8c1
SearchKit - Preprocess links only once; use api getLinks action

Before: Links were being preprocessed by the getLinkInfo() function once-per-link-per-row.

After: Links preprocessed once-per-link. New API action used.
ext/search_kit/Civi/Api4/Action/SearchDisplay/AbstractRunAction.php
ext/search_kit/Civi/Api4/Action/SearchDisplay/Run.php