From cbc0cbadaaf8ae99cf78950cc11586b0ece642fe Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sat, 6 May 2023 17:08:55 -0400 Subject: [PATCH] Fix bad filter counts --- src/js/3p-filters.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/3p-filters.js b/src/js/3p-filters.js index 006d51e04..5e79cefb0 100644 --- a/src/js/3p-filters.js +++ b/src/js/3p-filters.js @@ -380,6 +380,7 @@ const toggleFilterList = (elem, on, ui = false) => { const updateListNode = listNode => { if ( listNode === null ) { return; } if ( listNode.dataset.role !== 'node' ) { return; } + if ( listNode.dataset.parent === 'root' ) { return; } const listLeaves = qsa$(listNode, '.listEntry[data-role="leaf"].checked'); let usedFilterCount = 0; let totalFilterCount = 0;