-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 multiple include #426
fix multiple include #426
Conversation
+1 |
@@ -377,7 +377,11 @@ RestQuery.prototype.handleInclude = function() { | |||
this.include = this.include.slice(1); | |||
return this.handleInclude(); | |||
}); | |||
}else if(this.include.length >0){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you update the spacing here?
} else if (this.include.length > 0) {
@mchun updated the pull request. |
@mchun updated the pull request. |
@mchun updated the pull request. |
Looks like a |
@mchun updated the pull request. |
I am sorry for that. This is my first pull request ever and I am thrilled to have an opportunity to contribute. |
Cool, congrats on your first PR, and welcome to the open source community! |
When there are 2 or more include statements, if the current query does't contain keys in the first include field, then result will be returned before finding the rest of the include fields.