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

Filter primary table on conditions on secondary table #300

Open
ubergeekzone opened this issue Sep 21, 2017 · 10 comments
Open

Filter primary table on conditions on secondary table #300

ubergeekzone opened this issue Sep 21, 2017 · 10 comments
Assignees

Comments

@ubergeekzone
Copy link

If the matching column is found on a relationship table instead of the primary table, how could I limit records that are shown on the primary?

@mevdschee
Copy link
Owner

Thank you for reaching out. Unfortunately that is not supported. As a workaround you can make the other table the primary table or do two requests.

@mevdschee mevdschee self-assigned this Sep 23, 2017
@ubergeekzone
Copy link
Author

@mevdschee Why can this not be supported?

@mevdschee
Copy link
Owner

Why can this not be supported?

It can. I'll make this a feature request.

@mevdschee mevdschee changed the title Multi Tenancy w/ Relationships Filter primary table on conditions on secondary table Sep 23, 2017
@ubergeekzone
Copy link
Author

Can you provide some insight on where in your code I would make this happen? I can code it in.

@ubergeekzone
Copy link
Author

@mevdschee ^^^^

@ubergeekzone
Copy link
Author

@mevdschee any idea on if and when you could get this implemented? maybe a parameter that allows this feature to be included or not.

@tinyCoder32
Copy link

Same request.

@ubergeekzone
Copy link
Author

Any update on this or any update on my question see my quote.

Can you provide some insight on where in your code I would make this happen? I can code it in.

@mevdschee
Copy link
Owner

mevdschee commented Feb 21, 2018

In the current implementation I see no straightforward way to build this. I'm currently rewriting this software (in java, see: https://github.com/mevdschee/java-crud-api) and maybe the new implementation structure allows this, but I doubt it. That java implementation will be backported to this project as version 2.x. Not sure when this feature will be available.. if ever..

@mevdschee
Copy link
Owner

An update: This will NOT be included in v2.

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

No branches or pull requests

3 participants