mirror of
https://github.com/wekan/wekan.git
synced 2026-02-06 00:21:48 +01:00
Merge branch 'devel' into nested-tasks
This commit is contained in:
commit
3eba6ef285
65 changed files with 791 additions and 103 deletions
|
|
@ -369,6 +369,33 @@ Boards.helpers({
|
|||
}
|
||||
return result;
|
||||
},
|
||||
|
||||
cardsInInterval(start, end) {
|
||||
return Cards.find({
|
||||
$or: [
|
||||
{
|
||||
startAt: {
|
||||
$lte: start,
|
||||
}, endAt: {
|
||||
$gte: start,
|
||||
},
|
||||
}, {
|
||||
startAt: {
|
||||
$lte: end,
|
||||
}, endAt: {
|
||||
$gte: end,
|
||||
},
|
||||
}, {
|
||||
startAt: {
|
||||
$gte: start,
|
||||
}, endAt: {
|
||||
$lte: end,
|
||||
},
|
||||
},
|
||||
],
|
||||
});
|
||||
},
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -100,6 +100,11 @@ Users.attachSchema(new SimpleSchema({
|
|||
'profile.boardView': {
|
||||
type: String,
|
||||
optional: true,
|
||||
allowedValues: [
|
||||
'board-view-lists',
|
||||
'board-view-swimlanes',
|
||||
'board-view-cal',
|
||||
],
|
||||
},
|
||||
services: {
|
||||
type: Object,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue