v1.18.x
barisusakli 9 years ago
parent 6022fd984a
commit f4e3d571a3

@ -625,9 +625,7 @@ module.exports = function(db, module) {
limit = 0;
}
var pipeline = [];
pipeline.push({ $match: { _key: {$in: sets}} });
var pipeline = [{ $match: { _key: {$in: sets}} }];
weights.forEach(function(weight, index) {
if (weight !== 1) {

Loading…
Cancel
Save