Commit 1ed24b9d authored by strong's avatar strong

Merge branch 'bugfix_0520_subthread_limit' into SANDBOX

parents 6d800b18 a3a696f2
......@@ -820,7 +820,7 @@ function getSubThreads(doc, sort, callback) {
} else {
var lastResult = results[2];
lastResult.subThreads.docTotal = results[1] || 0;
lastResult.subThreads.total = results[0];
lastResult.subThreads.total = results[0].size();
callback(null, lastResult);
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment