summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorYanonix <github@yanonix.fr>2018-08-09 12:23:34 +0300
committerYanonix <github@yanonix.fr>2018-08-09 12:23:34 +0300
commit787941857d14fb63d4a292e4452c08d3fec1036d (patch)
treeb3c3c7f95d2bb1d42b6efe3c59631c8dc900ee9e /models
parent6a2b494713d9e5a36df88626f0b078fd5bb57cf4 (diff)
downloadwekan-787941857d14fb63d4a292e4452c08d3fec1036d.tar.gz
wekan-787941857d14fb63d4a292e4452c08d3fec1036d.tar.bz2
wekan-787941857d14fb63d4a292e4452c08d3fec1036d.zip
Fix showing only the cards of the current board in calendar view
Diffstat (limited to 'models')
-rw-r--r--models/boards.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/boards.js b/models/boards.js
index 76a8f704..c51a9865 100644
--- a/models/boards.js
+++ b/models/boards.js
@@ -372,6 +372,7 @@ Boards.helpers({
cardsInInterval(start, end) {
return Cards.find({
+ boardId: this._id,
$or: [
{
startAt: {