We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5fbd6a commit eeb2d5bCopy full SHA for eeb2d5b
app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php
@@ -914,7 +914,7 @@ public function addCategoryFilter(\Magento\Catalog\Model\Category $category)
914
{
915
$this->_productLimitationFilters['category_id'] = $category->getId();
916
if ($category->getIsAnchor()) {
917
- $this->_productLimitationFilters['category_is_anchor'] = 0;
+ unset($this->_productLimitationFilters['category_is_anchor']);
918
} else {
919
$this->_productLimitationFilters['category_is_anchor'] = 1;
920
}
0 commit comments