Add checklist ordering capability

This commit is contained in:
Andrés Manelli 2018-03-19 16:47:07 -03:00
parent ca89442f3a
commit 243af32fc7
4 changed files with 89 additions and 36 deletions

View file

@ -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() {