Merge branch 'master' of https://github.com/ksjdragon/hourglass
This commit is contained in:
commit
5baf08543f
@ -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}]};
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user