Commit 0d7673c8 authored by Curtis Adam's avatar Curtis Adam

Always have active cards for the Test Notifications

parent f5c17ae7
......@@ -143,7 +143,7 @@ var initTestNotificationsLearned = function () {
"card_id": "NotificationsTestCard1",
"user_id": "NotificationsTestUser",
"box": 1,
"active": false,
"active": true,
"nextDate": new Date(),
"currentDate": new Date()
},
......@@ -153,7 +153,7 @@ var initTestNotificationsLearned = function () {
"card_id": "NotificationsTestCard2",
"user_id": "NotificationsTestUser",
"box": 1,
"active": false,
"active": true,
"nextDate": new Date(),
"currentDate": new Date()
},
......@@ -163,7 +163,7 @@ var initTestNotificationsLearned = function () {
"card_id": "NotificationsTestCard3",
"user_id": "NotificationsTestUser",
"box": 1,
"active": false,
"active": true,
"nextDate": new Date(),
"currentDate": new Date()
},
......@@ -173,7 +173,7 @@ var initTestNotificationsLearned = function () {
"card_id": "NotificationsTestCard4",
"user_id": "NotificationsTestUser",
"box": 1,
"active": false,
"active": true,
"nextDate": new Date(),
"currentDate": new Date()
},
......@@ -183,7 +183,7 @@ var initTestNotificationsLearned = function () {
"card_id": "NotificationsTestCard5",
"user_id": "NotificationsTestUser",
"box": 1,
"active": false,
"active": true,
"nextDate": new Date(),
"currentDate": new Date()
}
......
......@@ -255,10 +255,11 @@ function getCardsets() {
} else {
if (Meteor.settings.public.university.singleUniversity) {
return Cardsets.find({
college: Meteor.settings.public.university.default
college: Meteor.settings.public.university.default,
kind: {$nin: ['server']}
}).fetch();
} else {
return Cardsets.find({}).fetch();
return Cardsets.find({kind: {$nin: ['server']}}).fetch();
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment