Commit 48e9853e authored by strong's avatar strong

Merge branch 'master' into SANDBOX

parents 1ed24b9d 6cfcabd5
......@@ -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].size();
lastResult.subThreads.total = results[0].length;
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