diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-03-20 22:13:18 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-03-20 22:13:18 +0200 |
commit | ec1630f8dd3719a15a17328687e5416aed82e874 (patch) | |
tree | 0752c6fe03c7776e9f8b9ed2fc437885b5b36325 /models/cards.js | |
parent | 90f3f7ba163ef5d015bc473946b02c23e263a011 (diff) | |
parent | 5e5a5ed9be33fe020b76dfb1ab4b32aec0753a20 (diff) | |
download | wekan-ec1630f8dd3719a15a17328687e5416aed82e874.tar.gz wekan-ec1630f8dd3719a15a17328687e5416aed82e874.tar.bz2 wekan-ec1630f8dd3719a15a17328687e5416aed82e874.zip |
Merge branch 'checklistItems' of https://github.com/andresmanelli/wekan into andresmanelli-checklistItems
Diffstat (limited to 'models/cards.js')
-rw-r--r-- | models/cards.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/cards.js b/models/cards.js index 544afca5..8fd15488 100644 --- a/models/cards.js +++ b/models/cards.js @@ -155,7 +155,7 @@ Cards.helpers({ }, checklists() { - return Checklists.find({cardId: this._id}, {sort: {createdAt: 1}}); + return Checklists.find({cardId: this._id}, {sort: { sort: 1 } }); }, checklistItemCount() { |