Skip to content

Commit 736b024

Browse files
committed
new itemsjs version. fixed severe security issues with babel
1 parent 937e088 commit 736b024

File tree

5 files changed

+663
-1669
lines changed

5 files changed

+663
-1669
lines changed

dist/itemsjs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20665,9 +20665,9 @@ var getBuckets = function getBuckets(data, input, aggregations) {
2066520665
filters = input.filters[k];
2066620666
}
2066720667

20668-
var doc_count = v2[1].array().length;
20668+
var doc_count = v2[1].array().length; //hide zero_doc_count facet only if it is not selected
2066920669

20670-
if (hide_zero_doc_count && doc_count === 0) {
20670+
if (hide_zero_doc_count && doc_count === 0 && filters.indexOf(v2[0]) === -1) {
2067120671
return;
2067220672
}
2067320673

dist/itemsjs.min.js

Lines changed: 50 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)