X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmkws-widget-main.js;h=c1a58ef43e8d9508d44b2257d50a5e584cb05cc7;hb=df0de8aa67fe98e4900a88043049857bb1e1d5b0;hp=70c45e2f3ae7765072d74581e65fd8a4dce84918;hpb=557aeb368deb630ab4dd70140a1425f8ba67c8fc;p=mkws-moved-to-github.git diff --git a/src/mkws-widget-main.js b/src/mkws-widget-main.js index 70c45e2..c1a58ef 100644 --- a/src/mkws-widget-main.js +++ b/src/mkws-widget-main.js @@ -128,7 +128,7 @@ mkws.registerWidgetType('records', function() { } } 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}})); });