-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Greetings! I'm working through your example (thank you) however running into problems getting the transform to fire.
The docTransform hits every time. But never the transform.
Any ideas?
`Template.SearchResults.helpers({
offender: function() {
return OffenderSearch.getData({
transform: function (matchText, regExp) {
console.log('hit transform');
return matchText.replace(regExp, "<b>$&</b>");
},
docTransform: function(doc) {
console.log('hit docTransform');
return doc;
}
});
}`
Metadata
Metadata
Assignees
Labels
No labels