public function testIsAddFilterableAttributesDefault() { $this->assertEquals(0, $this->_helper->isAddFilterableAttributes()); }
/** * Is original attribute enabled for flat indexing * * @return bool */ protected function _isOriginalEnabledInFlat() { return $this->getOrigData('backend_type') == 'static' || $this->_productFlatIndexerHelper->isAddFilterableAttributes() && $this->getOrigData('is_filterable') > 0 || $this->getOrigData('used_in_product_listing') == 1 || $this->getOrigData('used_for_sort_by') == 1; }