Closed WayneUong closed 7 years ago
it happens when I do not specify {{> EasySearch.Input}}
Please provide a reproduction repo or steps.
@matteodem I got the same exception right after updated my project from Meteor 1.3.5.1 to 1.4.3.1.
Can you provide a stack trace and reproduction repo or steps?
@matteodem have the same error here:
Index.prototype._getSearchOptions = function () { //
function _getSearchOptions(options) { //
if (!Meteor.isServer) { // 88
delete options.userId; // 89
} // 90
//
if (typeof options.userId === "undefined" && Meteor.userId) { // 92
options.userId = Meteor.userId(); // 93
} // 94
//
return _.defaults(options, this.defaultSearchOptions); // 96
} // 97
//
return _getSearchOptions; //
}();
I guess it is because of options
variable, it seems to be undefined
here.
options
is undefined here: