mirror of
https://github.com/wekan/wekan.git
synced 2025-12-27 20:58:48 +01:00
Fixed card move to top/bottom
This commit is contained in:
parent
80e06b8ffc
commit
99d38f2d61
2 changed files with 13 additions and 2 deletions
|
|
@ -86,6 +86,17 @@ Lists.helpers({
|
|||
{ sort: ['sort'] });
|
||||
},
|
||||
|
||||
cardsUnfiltered(swimlaneId) {
|
||||
const selector = {
|
||||
listId: this._id,
|
||||
archived: false,
|
||||
};
|
||||
if (swimlaneId)
|
||||
selector.swimlaneId = swimlaneId;
|
||||
return Cards.find(selector,
|
||||
{ sort: ['sort'] });
|
||||
},
|
||||
|
||||
allCards() {
|
||||
return Cards.find({ listId: this._id });
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue