diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-05-01 13:08:35 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-05-01 13:08:35 +0300 |
commit | 88fca396d48c248b7c667670645f332f4d0bf6a5 (patch) | |
tree | b043eb1cb3200f28570f208f12cf052a9e79f6f0 /models/trelloCreator.js | |
parent | e5cb1906939bae2961ab26be734c006e0932e67e (diff) | |
parent | cfa3c4bfcba3168f47cba74ffe14030682dd4da5 (diff) | |
download | wekan-88fca396d48c248b7c667670645f332f4d0bf6a5.tar.gz wekan-88fca396d48c248b7c667670645f332f4d0bf6a5.tar.bz2 wekan-88fca396d48c248b7c667670645f332f4d0bf6a5.zip |
Merge branch 'devel'
Diffstat (limited to 'models/trelloCreator.js')
-rw-r--r-- | models/trelloCreator.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/models/trelloCreator.js b/models/trelloCreator.js index 8920ff77..30f0bc2b 100644 --- a/models/trelloCreator.js +++ b/models/trelloCreator.js @@ -379,6 +379,7 @@ export class TrelloCreator { // we require. createdAt: this._now(this.createdAt.lists[list.id]), title: list.name, + sort: list.pos, }; const listId = Lists.direct.insert(listToCreate); Lists.direct.update(listId, {$set: {'updatedAt': this._now()}}); @@ -410,6 +411,7 @@ export class TrelloCreator { // we require. createdAt: this._now(), title: 'Default', + sort: 1, }; const swimlaneId = Swimlanes.direct.insert(swimlaneToCreate); Swimlanes.direct.update(swimlaneId, {$set: {'updatedAt': this._now()}}); |