}
}
var template = team.loadTemplate(that.config.template || "Records");
- that.node.html(template({"hits": data.hits}));
+ var targs = $.extend({}, {"hits": data.hits}, that.config.template_vars);
+ that.node.html(template(targs));
});
that.autosearch();