projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
328996c
)
Eliminate base variable.
author
Mike Taylor
<mike@indexdata.com>
Tue, 12 May 2015 10:26:32 +0000
(11:26 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 12 May 2015 10:26:32 +0000
(11:26 +0100)
src/mkws-widget-facets.js
patch
|
blob
|
history
diff --git
a/src/mkws-widget-facets.js
b/src/mkws-widget-facets.js
index
fc4e3d6
..
8a7ab37
100644
(file)
--- 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) {