diff --git a/hourglass/client/profile/profile.js b/hourglass/client/profile/profile.js index 7ca6de3..738daee 100644 --- a/hourglass/client/profile/profile.js +++ b/hourglass/client/profile/profile.js @@ -43,11 +43,13 @@ Template.profile.helpers({ rules: [{ token: '', collection: classes, - field: "name", template: Template.classDisplay, filter: { privacy: false, status: true + }, + selector: (match) => { + return {or: [{'name': match}, {'teacher': match}, {'hour': match}]}; } }] };