Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SearchKit - Enable links for implicit joins #19631

Merged
merged 1 commit into from
Feb 19, 2021

Conversation

colemanw
Copy link
Member

Overview

Improves SearchKit to show links for implicitly joined entities.

Before

A search such as civicrm/admin/search#/create/Email?params=%7B"version":4,"select":%5B"id","email","contact.display_name"%5D,"orderBy":%7B%7D,"where":%5B%5D,"groupBy":%5B%5D,"join":%5B%5D,"having":%5B%5D%7D would not show the contact Display Name as a link.

After

Now it does, plus links to the contact are available in search displays.

Automatically create links for any implicitly joined entity linked through an fk field
@civibot
Copy link

civibot bot commented Feb 18, 2021

(Standard links)

@civibot civibot bot added the master label Feb 18, 2021
@eileenmcnaughton
Copy link
Contributor

OK this works - I found the table I created a bit disturbing as the link is to 'delete contacts' but I guess that is what happens when you create a powerful feature

http://core-19631-71hgd.test-1.civicrm.org:8001/civicrm/search#/display/emails/emails

@eileenmcnaughton eileenmcnaughton merged commit 7343fb3 into civicrm:master Feb 19, 2021
@colemanw colemanw deleted the searchKitLinks branch February 20, 2021 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants