protected function _addFilter($facetName, $value)
    {
        if (isset($this->filters[$facetName])) {
            $currentValue = $this->filters[$facetName];
            if (!is_array($currentValue)) {
                $currentValue = array($currentValue);
            }
            $currentValue[] = $value;
            $value = $currentValue;
        }
        $this->filters[$facetName] = $value;
    }
protected function _addFilter($facetName, $value)
    {
        if (isset($this->filters[$facetName])) {
            $currentValue = $this->filters[$facetName];
            if (!is_array($currentValue)) {
                $currentValue = array($currentValue);
            }
            $currentValue[] = $value;
            $value = $currentValue;
        }
        $this->filters[$facetName] = $value;
    }
protected function _addFilter ( $ facetName , $ value ) { if ( isset ( $ this -> filters [ $ facetName ] ) ) { $ currentValue = $ this -> filters [ $ facetName ] ; if ( ! is_array ( $ currentValue ) ) { $ currentValue = array ( $ currentValue ) ; } $ currentValue [ ] = $ value ; $ value = $ currentValue ; } $ this -> filters [ $ facetName ] = $ value ; }
Add new filter without overwriting existing filters

@param string $facetName
@param string|int $value
Add new filter without overwriting existing filters