diff options
author | Frank Siler <franklin.siler@equifax.com> | 2018-05-16 19:40:02 -0500 |
---|---|---|
committer | Frank Siler <fxs79@ews-wekan.talx.com> | 2018-05-16 19:40:27 -0500 |
commit | 9a766c0f74b52f52db2c01e63027e69944d21eb7 (patch) | |
tree | e7d608f26cb93fca753a22f005bd10f5a7faae22 | |
parent | f3aa524b773f746d44c69fb432b6905bd139792d (diff) | |
download | wekan-9a766c0f74b52f52db2c01e63027e69944d21eb7.tar.gz wekan-9a766c0f74b52f52db2c01e63027e69944d21eb7.tar.bz2 wekan-9a766c0f74b52f52db2c01e63027e69944d21eb7.zip |
ensure checklistItem titles are correct when migrating
-rw-r--r-- | server/migrations.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/migrations.js b/server/migrations.js index 0fdd1fe0..684a8bbe 100644 --- a/server/migrations.js +++ b/server/migrations.js @@ -193,7 +193,7 @@ Migrations.add('add-checklist-items', () => { // Create new items _.sortBy(checklist.items, 'sort').forEach((item, index) => { ChecklistItems.direct.insert({ - title: checklist.title, + title: item.title, sort: index, isFinished: item.isFinished, checklistId: checklist._id, |