Reorganized assignment UI. Added searching by person.

This commit is contained in:
2022-08-16 07:39:15 -07:00
parent 571f3da1d6
commit 1501a36801
9 changed files with 3816 additions and 198 deletions

View File

@@ -14,7 +14,8 @@ if (Meteor.isServer) {
// This code only runs on the server
Meteor.publish('students', function(siteId) {
return Students.find({siteId});
if(siteId) check(siteId, String);
return siteId ? Students.find({siteId}) : Students.find({});
});
Meteor.methods({