mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 09:38:49 +01:00
Initial implementation for subtasks
This commit is contained in:
parent
b627ced605
commit
d59583915c
13 changed files with 478 additions and 34 deletions
|
|
@ -58,9 +58,11 @@ class Exporter {
|
|||
result.activities = Activities.find(byBoard, noBoardId).fetch();
|
||||
result.checklists = [];
|
||||
result.checklistItems = [];
|
||||
result.subtaskItems = [];
|
||||
result.cards.forEach((card) => {
|
||||
result.checklists.push(...Checklists.find({ cardId: card._id }).fetch());
|
||||
result.checklistItems.push(...ChecklistItems.find({ cardId: card._id }).fetch());
|
||||
result.subtaskItems.push(...Subtasks.find({ cardId: card._id }).fetch());
|
||||
});
|
||||
|
||||
// [Old] for attachments we only export IDs and absolute url to original doc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue