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

fix(utils): add condition to isLoopbackInclude #297

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chris-bloomfield
Copy link

Added an extra condition to isLoopbackInclude() to ensure it only returns true if the user passes in an include filter. This should fix an issue where requests along the lines of GET /posts?filter[where][id]=123&include=comments are ignoring the include parameter when there is also a filter param.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 94.554% when pulling e8cfe4d on chris-bloomfield:master into 40f9282 on digitalsadhu:master.

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