Skip to content

Commit 228bc9b

Browse files
leeyehwangxiao
authored andcommitted
fix(Query): correct addDesceding to return this (#351)
1 parent b0e40b9 commit 228bc9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/query.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ module.exports = function(AV) {
746746
this._order += ',-' + key;
747747
else
748748
this._order = '-' + key;
749-
return key;
749+
return this;
750750
},
751751

752752
/**

0 commit comments

Comments
 (0)