summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-05-18 16:26:44 +0300
committerLauri Ojansivu <x@xet7.org>2018-05-18 16:26:44 +0300
commit0be7a5d7836072b406f2c87e2831aaafa2de1e34 (patch)
treeb7fd99bbe51c42788793060223e30597a1db97e4
parent12a374bec71cb6fefc0959c4bc373acad1847d66 (diff)
parent41b938ea699da64c69ee3b21eec6b3a9b1d9f4d5 (diff)
downloadwekan-0be7a5d7836072b406f2c87e2831aaafa2de1e34.tar.gz
wekan-0be7a5d7836072b406f2c87e2831aaafa2de1e34.tar.bz2
wekan-0be7a5d7836072b406f2c87e2831aaafa2de1e34.zip
Merge branch 'franksiler-migration-checklistitems-fix' into devel
-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,