diff options
-rw-r--r-- | server/migrations.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/server/migrations.js b/server/migrations.js index 40420e8e..76721623 100644 --- a/server/migrations.js +++ b/server/migrations.js @@ -136,12 +136,7 @@ Migrations.add('add-sort-checklists', () => { if (!checklist.hasOwnProperty('sort')) { Checklists.direct.update( checklist._id, - { - $set: { - sort: index, - newItemIndex: checklist.items.length, - }, - }, + { $set: { sort: index } }, noValidate ); } |