Add feature: Add due timeline into Calendar view

This commit is contained in:
Sam X. Chen 2019-09-26 10:53:40 -04:00
parent d5cff1ec48
commit 62b72a03c4
6 changed files with 62 additions and 23 deletions

View file

@ -699,6 +699,13 @@ Boards.helpers({
return result;
},
cardsDueInBetween(start, end) {
return Cards.find({
boardId: this._id,
dueAt: { $gte: start, $lte: end },
});
},
cardsInInterval(start, end) {
return Cards.find({
boardId: this._id,