Skip to content

Commit 3556aec

Browse files
committed
Merge pull request #88 from GongT/patch-1
修复一个排序的bug
2 parents d260a20 + e7efe73 commit 3556aec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/query.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@
717717
if(this._order)
718718
this._order += ',-' + key;
719719
else
720-
this._order = key;
720+
this._order = '-' + key;
721721
return key;
722722
},
723723

0 commit comments

Comments
 (0)