summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-05-18 16:25:42 +0300
committerLauri Ojansivu <x@xet7.org>2018-05-18 16:25:42 +0300
commit41b938ea699da64c69ee3b21eec6b3a9b1d9f4d5 (patch)
treeb7fd99bbe51c42788793060223e30597a1db97e4
parent12a374bec71cb6fefc0959c4bc373acad1847d66 (diff)
parent9a766c0f74b52f52db2c01e63027e69944d21eb7 (diff)
downloadwekan-41b938ea699da64c69ee3b21eec6b3a9b1d9f4d5.tar.gz
wekan-41b938ea699da64c69ee3b21eec6b3a9b1d9f4d5.tar.bz2
wekan-41b938ea699da64c69ee3b21eec6b3a9b1d9f4d5.zip
Merge branch 'migration-checklistitems-fix' of https://github.com/franksiler/wekan into franksiler-migration-checklistitems-fix
-rw-r--r--server/migrations.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/migrations.js b/server/migrations.js
index ba5ccd98..c67e9572 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,