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 - Add links to view multi-record custom data #19626

Merged
merged 1 commit into from
Feb 21, 2021

Conversation

colemanw
Copy link
Member

Overview

When creating a search display, you can now add a link to view a Multi-Record custom entity.

Before

No link option

After

Not all types of links available but at least we have VIEW now:

image

Technical Details

Ideally custom entities would have a full set of CRUD links, but the form code is a bizarre mess and requires a bunch of extra url params that have to be calculated when constructing the links.

Just getting the VIEW link was difficult because I had to remove the requirement of passing CID & teach the form to look it up.

Ideally custom entities would have a full set of CRUD links, but the form code is a bizarre mess
and requires a bunch of extra url params that have to be calcultated when constructing the links.

Just getting the VIEW link was difficult because I had to remove the requirement of passing CID
& teach the form to look it up.
@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 & the changes seem sensible

@eileenmcnaughton eileenmcnaughton merged commit a732a37 into civicrm:master Feb 21, 2021
@eileenmcnaughton eileenmcnaughton deleted the multiRecordCustomViewLink branch February 21, 2021 21:56
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