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.
2 parents a4c68f9 + b732ed4 commit ea828d1Copy full SHA for ea828d1
app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php
@@ -863,6 +863,7 @@ public function addCategoryFilter(\Magento\Catalog\Model\Category $category)
863
* Filter Product by Categories
864
*
865
* @param array $categoriesFilter
866
+ * @return $this
867
*/
868
public function addCategoriesFilter(array $categoriesFilter)
869
{
@@ -876,6 +877,7 @@ public function addCategoriesFilter(array $categoriesFilter)
876
877
];
878
$this->getSelect()->where($this->getConnection()->prepareSqlCondition('e.entity_id' , $selectCondition));
879
}
880
+ return $this;
881
882
883
/**
0 commit comments