function NestedBooleanFilter (config, facetsGlobal) {
            this.key = config.key || '';
            this.label = config.label || '';
            this.count = config.count || 0;
            this.enabled = (this.count > 0) && (config.enabled === undefined ? true : config.enabled);
            this.checked = (config.checked === undefined) ? false : config.checked;
            this.facetsGlobal = facetsGlobal;
            this.facetName = config.facetName;
            this.children = config.children;
            this.parents = [];
            this.hideCount = config.hideCount || false;
            this.shouldToggleChildren = config.shouldToggleChildren || false;
            this.showExpanded = config.showExpanded;
            this.customLabelStylingClass = config.customLabelStylingClass;
        }
// NestedBooleanFilter represents a single (possibly nested) toggleable checkbox 
NestedBooleanFilter represents a single (possibly nested) toggleable checkbox
NestedBooleanFilter represents a single ( possibly nested ) toggleable checkbox
function NestedBooleanFilter (config, facetsGlobal) {
            this.key = config.key || '';
            this.label = config.label || '';
            this.count = config.count || 0;
            this.enabled = (this.count > 0) && (config.enabled === undefined ? true : config.enabled);
            this.checked = (config.checked === undefined) ? false : config.checked;
            this.facetsGlobal = facetsGlobal;
            this.facetName = config.facetName;
            this.children = config.children;
            this.parents = [];
            this.hideCount = config.hideCount || false;
            this.shouldToggleChildren = config.shouldToggleChildren || false;
            this.showExpanded = config.showExpanded;
            this.customLabelStylingClass = config.customLabelStylingClass;
        }
function NestedBooleanFilter ( config , facetsGlobal ) { this . key = config . key || '' ; this . label = config . label || '' ; this . count = config . count || 0 ; this . enabled = ( this . count > 0 ) && ( config . enabled === undefined ? true : config . enabled ) ; this . checked = ( config . checked === undefined ) ? false : config . checked ; this . facetsGlobal = facetsGlobal ; this . facetName = config . facetName ; this . children = config . children ; this . parents = [ ] ; this . hideCount = config . hideCount || false ; this . shouldToggleChildren = config . shouldToggleChildren || false ; this . showExpanded = config . showExpanded ; this . customLabelStylingClass = config . customLabelStylingClass ; }
NestedBooleanFilter represents a single (possibly nested) toggleable checkbox
NestedBooleanFilter represents a single ( possibly nested ) toggleable checkbox