setting, which tells it to use a template other than the default
"template" when rendering summary records. For example,
<div class="mkws-records" summary-template='details'></div>
will render all records in detailed view.
}
}
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}}));
});