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:
ac02e88
)
Simplify to a version that still doesn't work, but in the same way.
author
Mike Taylor
<mike@indexdata.com>
Tue, 12 May 2015 07:35:46 +0000
(08:35 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 12 May 2015 07:35:46 +0000
(08:35 +0100)
src/mkws-widget-facets.js
patch
|
blob
|
history
diff --git
a/src/mkws-widget-facets.js
b/src/mkws-widget-facets.js
index
5c720bd
..
9ad4c57
100644
(file)
--- a/
src/mkws-widget-facets.js
+++ b/
src/mkws-widget-facets.js
@@
-45,10
+45,8
@@
mkws.registerWidgetType('facet', function() {
data = data[name];
var terms = [];
var teamName = team.name();
- var base = team.filters();
- var fs;
for (var i = 0; i < data.length && i < max; i++) {
- fs = $.extend(base, [], false);
+ var fs = $.extend(true, {}, team.filters());
//team.warn("fs = " + mkws.$.toJSON(fs));
//team.warn("team.filters = " + mkws.$.toJSON(team.filters()));
if (!pzIndex) {