summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-05-08 01:20:56 +0300
committerLauri Ojansivu <x@xet7.org>2018-05-08 01:20:56 +0300
commit16d75f549dccec6b161e09d7d11102f93cf5ef35 (patch)
tree931c03260811c59b18cbf881a90cf093586545d2
parent5e109de8d5bf9d9d274cda031618b11d01937e9c (diff)
downloadwekan-16d75f549dccec6b161e09d7d11102f93cf5ef35.tar.gz
wekan-16d75f549dccec6b161e09d7d11102f93cf5ef35.tar.bz2
wekan-16d75f549dccec6b161e09d7d11102f93cf5ef35.zip
Fix error: title is required.
Related https://github.com/wekan/wekan/commit/8d5cbf1e6c2b6d467fe1c0708cd794fd11b98a2e Closes #1576
-rw-r--r--server/migrations.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/migrations.js b/server/migrations.js
index 684a8bbe..0fdd1fe0 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: item.title,
+ title: checklist.title,
sort: index,
isFinished: item.isFinished,
checklistId: checklist._id,