aboutsummaryrefslogtreecommitdiff
path: root/wekan/fix_migration.diff
blob: 0e6248f0f9f35658356bd14f1e718f3d475ee752 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/build/programs/server/app/app.js	2023-11-26 22:45:48.000000000 +0000
+++ b/build/programs/server/app/app.js	2023-11-27 04:13:12.542832728 +0000
@@ -25399,18 +25399,6 @@
         }
       }, noValidate);
     }
-    checklist.items.forEach((item, index) => {
-      if (!item.hasOwnProperty('sort')) {
-        Checklists.direct.update({
-          _id: checklist._id,
-          'items._id': item._id
-        }, {
-          $set: {
-            'items.$.sort': index
-          }
-        }, noValidate);
-      }
-    });
   });
 });
 Migrations.add('add-swimlanes', () => {