Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -4,7 +4,6 @@ import { check } from 'meteor/check';
|
||||
import {Sites} from "./sites";
|
||||
import { Roles } from 'meteor/alanning:roles';
|
||||
import {parse} from 'csv-parse';
|
||||
import { ReactiveAggregate } from 'meteor/tunguska:reactive-aggregate';
|
||||
|
||||
// console.log("Setting Up Students...")
|
||||
|
||||
@@ -17,15 +16,6 @@ if (Meteor.isServer) {
|
||||
Meteor.publish('students', function(siteId) {
|
||||
return Students.find({siteId});
|
||||
});
|
||||
Meteor.publish('studentWithAssetAssignments', function(query) {
|
||||
ReactiveAggregate(this, Students, {$lookup: {
|
||||
from: 'assetAssignments',
|
||||
localField: '_id',
|
||||
foreignField: 'assigneeId',
|
||||
as: 'assignments'
|
||||
}}, {});
|
||||
//Note: The options can use {clientCollection: 'your_name_here'} as the options to change the collection name on the client.
|
||||
});
|
||||
|
||||
Meteor.methods({
|
||||
'students.getPossibleGrades'() {
|
||||
|
||||
Reference in New Issue
Block a user