cancel
Showing results for 
Search instead for 
Did you mean: 

Support store filter for ProductRepository::getList.

0 Kudos

Support store filter for ProductRepository::getList.

Feature request from meng-tian, posted on GitHub Aug 10, 2016

The current implementation of \Magento\Catalog\Model\ProductRepository::getList does not allow filter products by stores. When specify store_id filter in $searchCriteria, an exception throws Invalid attribute name: store_id.

This pull request adds support for store filtering by using the \Magento\Catalog\Model\ResourceModel\Product\Collection::addStoreFilter method.

1 Comment
apiuser
New Member

Comment from magento-cicd2, posted on GitHub Aug 10, 2016

CLA assistant check
All committers have signed the CLA.