From cd58fd69bdcdc801b01ddb805924cea930feee54 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 12 May 2015 11:26:32 +0100 Subject: [PATCH] Eliminate base variable. --- src/mkws-widget-facets.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mkws-widget-facets.js b/src/mkws-widget-facets.js index fc4e3d6..8a7ab37 100644 --- a/src/mkws-widget-facets.js +++ b/src/mkws-widget-facets.js @@ -44,9 +44,8 @@ mkws.registerWidgetType('facet', function() { team.queue("facets").subscribe(function(data) { data = data[name]; var terms = []; - var base = team.filters(); for (var i = 0; i < data.length && i < max; i++) { - var fs = $.extend(true, {}, base); + var fs = $.extend(true, {}, team.filters()); //team.warn("fs = " + mkws.$.toJSON(fs)); //team.warn("team.filters = " + mkws.$.toJSON(team.filters())); if (!pzIndex) { -- 1.7.10.4