diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-05-01 13:06:15 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-05-01 13:06:15 +0300 |
commit | bf7520c4307da67c453c98289d7f13ab8c5dc082 (patch) | |
tree | bfedec0411d71529fee37b38ef518608c8524edf /models/trelloCreator.js | |
parent | 359d0b376f203a4d309a3a222d35a16b4ed161e3 (diff) | |
parent | 166324df011af835c4a96e6dab3b3fab24e42a23 (diff) | |
download | wekan-bf7520c4307da67c453c98289d7f13ab8c5dc082.tar.gz wekan-bf7520c4307da67c453c98289d7f13ab8c5dc082.tar.bz2 wekan-bf7520c4307da67c453c98289d7f13ab8c5dc082.zip |
Merge branch 'zebby76-devel' into 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()}}); |