search all fields

This commit is contained in:
Yaman Qalieh 2016-10-22 17:10:44 -04:00
parent aa4efb54c2
commit fae6597284

View File

@ -43,11 +43,13 @@ Template.profile.helpers({
rules: [{ rules: [{
token: '', token: '',
collection: classes, collection: classes,
field: "name",
template: Template.classDisplay, template: Template.classDisplay,
filter: { filter: {
privacy: false, privacy: false,
status: true status: true
},
selector: (match) => {
return {or: [{'name': match}, {'teacher': match}, {'hour': match}]};
} }
}] }]
}; };