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

APIv4 - Add keyword to select all custom fields #17955

Merged
merged 1 commit into from
Jul 25, 2020

Conversation

colemanw
Copy link
Member

Overview

Adds a convenience feature to APIv4, making it easy to select all custom fields.

Before

APIv4 Get only selects core fields by default; custom fields must be added one-at-a-time or on a per-group basis.

After

APIv4 Get only selects core fields by default, but all custom fields can be added with a simple keyword.

Technical Details

To select all core + custom fields, select ['*', 'custom.*'].

Comments

Updated tests, docs, and the API Explorer :)

@civibot
Copy link

civibot bot commented Jul 25, 2020

(Standard links)

@civibot civibot bot added the master label Jul 25, 2020
@eileenmcnaughton
Copy link
Contributor

Api version 2 all over again! Still I can't see a problem with it & I guess you are finding it useful for the search builder so I'm OK with it

@eileenmcnaughton eileenmcnaughton merged commit 25b667c into civicrm:master Jul 25, 2020
@eileenmcnaughton eileenmcnaughton deleted the superstar branch July 25, 2020 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants