mirror of
https://github.com/wekan/wekan.git
synced 2025-12-27 12:48:49 +01:00
Bug fix for #3864 searching archived cards and add new operators for organizations and teams
This commit is contained in:
parent
6ef612d04e
commit
aa0dee1fba
8 changed files with 89 additions and 6 deletions
|
|
@ -345,6 +345,17 @@ Lists.mutations({
|
|||
},
|
||||
});
|
||||
|
||||
Lists.userArchivedLists = userId => {
|
||||
return Lists.find({
|
||||
boardId: { $in: Boards.userBoardIds(userId, null) },
|
||||
archived: true,
|
||||
})
|
||||
};
|
||||
|
||||
Lists.userArchivedListIds = () => {
|
||||
return Lists.userArchivedLists().map(list => { return list._id; });
|
||||
};
|
||||
|
||||
Lists.archivedLists = () => {
|
||||
return Lists.find({ archived: true });
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue