Permalink
Browse files

Fixed bug in count

  • Loading branch information...
1 parent d71200d commit c6417a9b355bd5ec9aa80d6f1dbffc0d4323bf56 @Irrelon committed Nov 3, 2016
Showing with 2 additions and 2 deletions.
  1. +1 −1 index.js
  2. +1 −1 package.json
View
@@ -291,7 +291,7 @@ var Monge = IgeEventingClass.extend({
var tempCursor = tempCollection.find(obj, options);
if (tempCursor) {
- tempCursor.count(true, function(err, count) {
+ tempCursor.count(false, function(err, count) {
// Got the result cursor (or err)
if (!modifierOptions.orderBy) {
tempCursor.toArray(function (err, results) {
View
@@ -12,7 +12,7 @@
"db",
"easy"
],
- "version": "1.4.3",
+ "version": "1.4.4",
"repository": {
"type": "git",
"url": "https://github.com/coolbloke1324/monge"

0 comments on commit c6417a9

Please sign in to comment.