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

Prefilter with relation #191

Open
Biromain opened this issue Sep 15, 2016 · 0 comments
Open

Prefilter with relation #191

Biromain opened this issue Sep 15, 2016 · 0 comments

Comments

@Biromain
Copy link

Biromain commented Sep 15, 2016

Sorry, i have look lot of issues but not found any way.
FYI: Scopes are in Mapper.
I search to filter result with relation state without get all parents and loop on it.
Like :
$mapper->get(x)->childrens->published()->location->geoValid()
or
$mapper->get(x)->childrens->published()->geoValid() but geoValid filter on relation.

I have tried with relationName.field in parent scope but generate table.relationName.field.

Regards,

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

No branches or pull requests

1 participant