diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-01-04 09:23:54 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-01-04 09:23:54 +0200 |
commit | 2b53fae16f07c3614ee9e9d54cd17f8102218fea (patch) | |
tree | f4c2066ff4ab269f78091690fd0d377f76dac083 /models | |
parent | 1683bcb3e5980d3af4a07c4bb22e534b98eff862 (diff) | |
parent | 4d8b2029d266843dc0eb376a0bf752c46e440a13 (diff) | |
download | wekan-2b53fae16f07c3614ee9e9d54cd17f8102218fea.tar.gz wekan-2b53fae16f07c3614ee9e9d54cd17f8102218fea.tar.bz2 wekan-2b53fae16f07c3614ee9e9d54cd17f8102218fea.zip |
Merge branch 'feature-rules' of https://github.com/Angtrim/wekan into Angtrim-feature-rules
Diffstat (limited to 'models')
-rw-r--r-- | models/cards.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/models/cards.js b/models/cards.js index bcd16ece..7b05e4b5 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,8 @@ function cardCreation(userId, doc) { listName: Lists.findOne(doc.listId).title, listId: doc.listId, cardId: doc._id, + cardTitle:doc.title, + swimlaneName: Swimlanes.findOne(doc.swimlaneId).title, swimlaneId: doc.swimlaneId, }); } |