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

dev/core#2486 APIv4 - Add File entity #21158

Merged
merged 1 commit into from
Aug 16, 2021

Conversation

colemanw
Copy link
Member

@colemanw colemanw commented Aug 16, 2021

Overview

Adds a simple API for Files

Technical Details

Because custom file fields declare an FK to civicrm_file, it's useful to have an api for the FK entity. And this fixes some SearchKit errors reported when an entity contains custom File fields.

@civibot
Copy link

civibot bot commented Aug 16, 2021

(Standard links)

@civibot civibot bot added the master label Aug 16, 2021
@kurund
Copy link
Contributor

kurund commented Aug 16, 2021

@colemanw

I was getting fatal for missing API 4 for File. I think this patch fixed that error. Thank you

@eileenmcnaughton
Copy link
Contributor

Merging based on @kurund's testing

@eileenmcnaughton eileenmcnaughton merged commit 4591788 into civicrm:master Aug 16, 2021
@eileenmcnaughton eileenmcnaughton deleted the fileApi branch August 16, 2021 20:15
@eileenmcnaughton eileenmcnaughton changed the title APIv4 - Add File entity dev/core#2486 APIv4 - Add File entity Aug 16, 2021
@eileenmcnaughton
Copy link
Contributor

We got a check

image

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.

3 participants