Skip to content

Conversation

flovilmart
Copy link
Contributor

@flovilmart flovilmart commented Sep 20, 2016

Let the $in query for the includes be interpolated as a get to pass through the CLP preferences (as it's a series of get that's optimized as a $in)

Fixes #2005

@flovilmart flovilmart changed the title Issue #2005 Makes sure pointer includes are interpolated as get Sep 20, 2016
@flovilmart flovilmart added this to the 2.2.22 milestone Sep 22, 2016
Copy link
Contributor

@drew-gross drew-gross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one comment otherwise looks good

@@ -711,10 +711,10 @@ DatabaseController.prototype.find = function(className, query, {
acl,
sort = {},
count,
} = {}) {
} = {}, op) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you put this parameter in the options arg instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep definitely :)

@ghost
Copy link

ghost commented Sep 24, 2016

@flovilmart updated the pull request - view changes

@flovilmart flovilmart merged commit b5af4d0 into master Sep 24, 2016
@flovilmart flovilmart deleted the issue-#2005 branch September 24, 2016 18:54
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