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 73bf648 commit 23f2d5cCopy full SHA for 23f2d5c
app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php
@@ -852,6 +852,7 @@ public function addCategoryFilter(\Magento\Catalog\Model\Category $category)
852
* Filter Product by Categories
853
*
854
* @param array $categoriesFilter
855
+ * @return $this
856
*/
857
public function addCategoriesFilter(array $categoriesFilter)
858
{
@@ -865,6 +866,7 @@ public function addCategoriesFilter(array $categoriesFilter)
865
866
];
867
$this->getSelect()->where($this->getConnection()->prepareSqlCondition('e.entity_id' , $selectCondition));
868
}
869
+ return $this;
870
871
872
/**
0 commit comments