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

Pass api4 getFields values through to getOptions #16168

Merged
merged 1 commit into from
Jan 1, 2020

Conversation

colemanw
Copy link
Member

Overview

Allows option filtering in api4, similar to how it works in api3.

Before

No options filtering.

After

Values passed to getOptions, so that e.g. you can fetch the states for a particular country.

Notes

Test added to confirm states are filtered by country.

@civibot
Copy link

civibot bot commented Dec 31, 2019

(Standard links)

@civibot civibot bot added the master label Dec 31, 2019
@eileenmcnaughton eileenmcnaughton merged commit a2440a3 into civicrm:master Jan 1, 2020
@eileenmcnaughton eileenmcnaughton deleted the options branch January 1, 2020 01:14
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