cancel
Showing results for 
Search instead for 
Did you mean: 

API improvement: CategoryRepositoryInterface should have a getList method

0 Kudos

API improvement: CategoryRepositoryInterface should have a getList method

Feature request from phoenix-bjoern, posted on GitHub Oct 06, 2016

As a developer you need to be able to retrieve categories by certain conditions e.g. to select categories by their parent ID or by their ID path. Currently this is only possible by using the categorie's resource model directly which is an unclean approach. The ProductRepositoryInterface provides a getList method which allows a developer to select products by using the SearchCriteriaInterface. For categories this should be possible in the same way.

1 Comment
Not applicable

Comment from piotrekkaminski, posted on GitHub Oct 24, 2016

@PHOENIX-bjoern would you be willing to contribute this as a PR?