Skip to content

Commit

Permalink
MAGETWO-66360: Update addCategoriesFilter to return $this #6677
Browse files Browse the repository at this point in the history
  • Loading branch information
vrann authored Mar 20, 2017
2 parents a4c68f9 + b732ed4 commit ea828d1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -863,6 +863,7 @@ public function addCategoryFilter(\Magento\Catalog\Model\Category $category)
* Filter Product by Categories
*
* @param array $categoriesFilter
* @return $this
*/
public function addCategoriesFilter(array $categoriesFilter)
{
Expand All @@ -876,6 +877,7 @@ public function addCategoriesFilter(array $categoriesFilter)
];
$this->getSelect()->where($this->getConnection()->prepareSqlCondition('e.entity_id' , $selectCondition));
}
return $this;
}

/**
Expand Down

0 comments on commit ea828d1

Please sign in to comment.