From 3e34150704c3c4bfc7392979676171a986727b22 Mon Sep 17 00:00:00 2001 From: Lyosha Shchur Date: Thu, 23 Feb 2017 12:07:31 +0200 Subject: [PATCH] Update Data.php --- app/code/community/Lesti/Fpc/Helper/Data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/community/Lesti/Fpc/Helper/Data.php b/app/code/community/Lesti/Fpc/Helper/Data.php index 7a89788..0d65dda 100644 --- a/app/code/community/Lesti/Fpc/Helper/Data.php +++ b/app/code/community/Lesti/Fpc/Helper/Data.php @@ -182,7 +182,7 @@ protected function _getLayeredNavigationAttributes() $layeredNavigationAttributesCache = $cache->load($cacheId); if (!$layeredNavigationAttributesCache) { - $attributeCollection->addFieldToFilter($filterableField, true); + $attributeCollection->addFieldToFilter($filterableField, array('in' => array(1,2))); foreach ($attributeCollection as $attribute) { $layeredNavigationAttributes[] = $attribute->getAttributeCode(); }