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

CRM-21182 - Activity API: Fetch case fields via the join syntax #10979

Merged
merged 2 commits into from Sep 15, 2017

Conversation

colemanw
Copy link
Member

@colemanw colemanw commented Sep 13, 2017

This improvement allows case info to be fetched via the activity api. E.g. specifying "case_id.subject" in the return params will fetch the case subject of the activity.

@totten
Copy link
Member

totten commented Sep 13, 2017

This looks pretty good/valid. IMHO, it needs a unit-test. Take a look at api_v3_ActivityCaseTest for an example of an API test which hits both case-data and activity-data.

@colemanw colemanw merged commit 30d7235 into civicrm:master Sep 15, 2017
@colemanw colemanw deleted the CRM-21182 branch September 15, 2017 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants