summaryrefslogtreecommitdiffstats
path: root/models/export.js
diff options
context:
space:
mode:
authorNicu Tofan <nicu.tofan@gmail.com>2018-06-24 00:21:23 +0300
committerNicu Tofan <nicu.tofan@gmail.com>2018-06-26 14:32:50 +0300
commit4ac6a507cdd3e7a4610c8961e0a9f76f945a5e6d (patch)
tree5811bc2603cede163dbd64f6aa54ad5e1b4c8fb9 /models/export.js
parentcd36194477593f12103bc3d69e3cdd594c831099 (diff)
downloadwekan-4ac6a507cdd3e7a4610c8961e0a9f76f945a5e6d.tar.gz
wekan-4ac6a507cdd3e7a4610c8961e0a9f76f945a5e6d.tar.bz2
wekan-4ac6a507cdd3e7a4610c8961e0a9f76f945a5e6d.zip
Get rid of old implementation for substacks
Diffstat (limited to 'models/export.js')
-rw-r--r--models/export.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/export.js b/models/export.js
index 778633f9..8c4c29d4 100644
--- a/models/export.js
+++ b/models/export.js
@@ -62,7 +62,7 @@ class Exporter {
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());
+ result.subtaskItems.push(...Cards.find({ parentid: card._id }).fetch());
});
// [Old] for attachments we only export IDs and absolute url to original doc