summaryrefslogtreecommitdiffstats
path: root/models/cards.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-03-20 22:13:18 +0200
committerLauri Ojansivu <x@xet7.org>2018-03-20 22:13:18 +0200
commitec1630f8dd3719a15a17328687e5416aed82e874 (patch)
tree0752c6fe03c7776e9f8b9ed2fc437885b5b36325 /models/cards.js
parent90f3f7ba163ef5d015bc473946b02c23e263a011 (diff)
parent5e5a5ed9be33fe020b76dfb1ab4b32aec0753a20 (diff)
downloadwekan-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.js2
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() {