SearchKit - Improve join labels
authorColeman Watts <coleman@civicrm.org>
Thu, 1 Jul 2021 22:36:56 +0000 (18:36 -0400)
committerColeman Watts <coleman@civicrm.org>
Thu, 1 Jul 2021 22:36:56 +0000 (18:36 -0400)
commit577810c5ead221dd57f79b0de0573c4753c5c562
treef9e49a36041ce5ce2ac762434b8da4017ebf494b
parent77af2b9164d887b39f6472b9af68f068bcebd746
SearchKit - Improve join labels

This fixes the order of joins, fixes a bug where the label fields were getting overwritten by
implicit joins before they could be used for explicit joins,
and uses the label field for explicit joins instead of just the entity name.
ext/search_kit/Civi/Search/Admin.php