}
}
var template = team.loadTemplate(that.config.template || "records");
- var summaryPartial = team.loadTemplate("summary");
+ var summaryPartial = team.loadTemplate(that.config['summary-template'] || "summary");
var tdata = $.extend({}, {"hits": data.hits}, that.config.template_vars);
that.node.html(template(tdata, {"partials":{"summary":summaryPartial}}));
});
mkws.registerWidgetType('search', function() {
var output = {};
output.team = this.team.name();
- output.queryWidth = this.config.query_width;
var template = this.team.loadTemplate(this.config.template || "search");
this.node.html(template(output));
});