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

Add support for querying Users #27

Merged
merged 6 commits into from
Aug 31, 2016
Merged

Conversation

mckernanin
Copy link
Contributor

I'm working on a project where it'd be really nice to be able to assign users to a post in the same format as what this plugin does. I extended the plugin to be able to do this by adding a boolean option 'query_users' to the field, and updating the query code to switch to a user query based on this. I haven't tested extensively with user query options, but passing query args should work just like post query args. Feedback welcome!

Instead of a different field, added an option 'query_users' to 'custom_attached_posts'
Don't need this now that we're not using 2 separate fields
@jtsternberg jtsternberg merged commit dbdbf73 into CMB2:master Aug 31, 2016
jtsternberg added a commit that referenced this pull request Aug 31, 2016
@jtsternberg
Copy link
Member

Thanks and nice work @mckernanin!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants