diff options
author | Angelo Gallarello <angelo.gallarell@gmail.com> | 2018-12-30 22:08:34 +0100 |
---|---|---|
committer | Angelo Gallarello <angelo.gallarell@gmail.com> | 2018-12-30 22:08:34 +0100 |
commit | a2d756074f05299248944ecce2cc87a9a28ab020 (patch) | |
tree | 2c3e61af27e8cce64caea39a3e642a0eae18857c /models/cards.js | |
parent | b2f23d619d1ff33e899080dca17d018f0e8d0963 (diff) | |
download | wekan-a2d756074f05299248944ecce2cc87a9a28ab020.tar.gz wekan-a2d756074f05299248944ecce2cc87a9a28ab020.tar.bz2 wekan-a2d756074f05299248944ecce2cc87a9a28ab020.zip |
Added swimlane trigger
Diffstat (limited to 'models/cards.js')
-rw-r--r-- | models/cards.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/models/cards.js b/models/cards.js index bcd16ece..a7217c5d 100644 --- a/models/cards.js +++ b/models/cards.js @@ -1128,6 +1128,7 @@ function cardMove(userId, doc, fieldNames, oldListId, oldSwimlaneId) { listId: doc.listId, boardId: doc.boardId, cardId: doc._id, + swimlaneName: Swimlanes.findOne(doc.swimlaneId).title, swimlaneId: doc.swimlaneId, oldSwimlaneId, }); @@ -1237,6 +1238,7 @@ function cardCreation(userId, doc) { listName: Lists.findOne(doc.listId).title, listId: doc.listId, cardId: doc._id, + swimlaneName: Swimlanes.findOne(doc.swimlaneId).title, swimlaneId: doc.swimlaneId, }); } |