Skip to content
This repository was archived by the owner on Sep 16, 2020. It is now read-only.

Commit 4840b12

Browse files
committed
corrects the returned result when $inlinecount and $top parameter are defined
1 parent 67b5a9f commit 4840b12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

data-controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ HttpDataController.prototype.index = function(callback)
584584
if (count) {
585585
return callback(null, self.result({
586586
records:result,
587-
total:result.count
587+
total:result.length
588588
}));
589589
}
590590
else {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "most-web",
3-
"version": "1.8.0",
3+
"version": "1.8.1",
44
"description": "Most Web Framework - A JavaScript web framework for building scalable web application under node.js",
55
"homepage": "http://www.most-framework.com/",
66
"repository": {

0 commit comments

Comments
 (0)