search all fields
This commit is contained in:
parent
aa4efb54c2
commit
fae6597284
@ -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}]};
|
||||
}
|
||||
}]
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user