Constructor
new ProductSortOptions(productSearch, sortingRuleId, sortingOptions, rootCategory, pagingModel)
Parameters:
Name | Type | Description |
---|---|---|
productSearch |
dw.catalog.ProductSearchModel |
Product search instance |
sortingRuleId |
string | null |
HTTP Param srule value |
sortingOptions |
dw.util.List.<dw.catalog.SortingOption> |
Sorting rule options |
rootCategory |
dw.catalog.Category |
Catalog's root category |
pagingModel |
dw.web.PagingModel |
The paging model for the current search context |