From: Mike Taylor Date: Tue, 27 Jan 2015 13:05:01 +0000 (+0000) Subject: Do not pass that.config.query into the facet template. X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=ffd01a4bec7a1e2b99317a1e856a75a3006ad119 Do not pass that.config.query into the facet template. This was never needed, and is in fact currently used only as a local cache by the widget.autosearch() function, rather rudely. --- diff --git a/src/mkws-widget-facets.js b/src/mkws-widget-facets.js index 520faca..fbf0e47 100644 --- a/src/mkws-widget-facets.js +++ b/src/mkws-widget-facets.js @@ -73,7 +73,6 @@ mkws.registerWidgetType('facet', function() { that.node.html(template({ name: name, caption: caption, - query: that.config.query, terms: terms })); });