不要怂,就是干,撸起袖子干!

Commit 140bf669 by Mick Hansen

fix(include): remove scope from the options passed along to separate include getters, closes #4687

1 parent cf2b16e8
Showing with 1 additions and 1 deletions
......@@ -1417,7 +1417,7 @@ Model.$findSeparate = function(results, options) {
}, []),
_.assign(
{},
_.omit(options, 'include', 'attributes', 'order', 'where', 'limit', 'plain'),
_.omit(options, 'include', 'attributes', 'order', 'where', 'limit', 'plain', 'scope'),
{include: include.include || []}
)
);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!