Skip to content

Filter by attribute of related entity #85

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

Closed
nialljt1 opened this issue Apr 5, 2017 · 4 comments
Closed

Filter by attribute of related entity #85

nialljt1 opened this issue Apr 5, 2017 · 4 comments

Comments

@nialljt1
Copy link

nialljt1 commented Apr 5, 2017

Maybe this is possible already but it would be great to be able to filter by an attribute of a related entity
Maybe, have something like
bookings?include=status&filter[starting-at]=le:2017-01-01&filter[status.name]=eq:active

@jaredcnance
Copy link
Contributor

jaredcnance commented Apr 5, 2017

@nialljt1 this is not currently supported. i'll take some time this week to think about the best way to implement it and try to get it in this weekend. This, of course, would only work with shallow relationships until #39 is addressed.

@nialljt1
Copy link
Author

nialljt1 commented Apr 7, 2017 via email

@jaredcnance
Copy link
Contributor

jaredcnance commented Apr 11, 2017

@nialljt1 this has been merged into the pre-release package 1.3.1-alpha1-0102. Can you pull this version and verify it fixes your issue?

@jaredcnance jaredcnance mentioned this issue Apr 11, 2017
@nialljt1
Copy link
Author

nialljt1 commented Apr 12, 2017 via email

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

No branches or pull requests

2 participants