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

[fixes #1404] aggregate options ignored in where #1403

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dinana
Copy link

@dinana dinana commented Oct 27, 2016

If aggregate options are passed to where, they are saved to the criteria
object from normalize.criteria(criteria) however only criteria.where is
saved to _criteria.where, options saved to criteria object is ignored.

If aggregate options are passed to where, they are saved to the criteria
object from normalize.criteria(criteria) however only criteria.where is
saved to _criteria.where, options saved to criteria object is ignored.
@sailsbot
Copy link

Hi @dinana! It looks like your pull request title doesn’t quite conform to our guidelines. Please edit the title so that it starts with [proposal], [patch], [fixes #], or [implements #]. Once you've fixed it, post a comment below (e.g. "ok, fixed!") and we'll take a look!

@dinana dinana changed the title Fix aggregate options ignored in where [fixes #1404] aggregate options ignored in where Oct 28, 2016
Use _.merge instead of _.extend to avoid overwriting prev. where
criteria
@dinana
Copy link
Author

dinana commented Oct 28, 2016

ok, fixed!

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

Successfully merging this pull request may close these issues.

2 participants