summaryrefslogtreecommitdiffstats
path: root/models/checklistItems.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-02-28 23:03:16 +0200
committerLauri Ojansivu <x@xet7.org>2019-02-28 23:03:16 +0200
commit174ad1a9877fd0b7523f9a9b074352e5268ffaf7 (patch)
tree07cce2399e7699567468987a73c1f2258a95108e /models/checklistItems.js
parent199246ea6caac1cfcfe64d082ce887b3bccb1ee3 (diff)
parent49882a05d1d1e5cacc950daa282bd6f6ea0d402f (diff)
downloadwekan-174ad1a9877fd0b7523f9a9b074352e5268ffaf7.tar.gz
wekan-174ad1a9877fd0b7523f9a9b074352e5268ffaf7.tar.bz2
wekan-174ad1a9877fd0b7523f9a9b074352e5268ffaf7.zip
Merge branch 'edge' into meteor-1.8
Diffstat (limited to 'models/checklistItems.js')
-rw-r--r--models/checklistItems.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/checklistItems.js b/models/checklistItems.js
index 35b18ed7..30e57aec 100644
--- a/models/checklistItems.js
+++ b/models/checklistItems.js
@@ -189,6 +189,7 @@ function publishChekListUncompleted(userId, doc){
if (Meteor.isServer) {
Meteor.startup(() => {
ChecklistItems._collection._ensureIndex({ checklistId: 1 });
+ ChecklistItems._collection._ensureIndex({ cardId: 1 });
});
ChecklistItems.after.update((userId, doc, fieldNames) => {