public ActionResult Products(string filter, int categoryID, string path, int?pagesize, int?orderby, string viewmode) { var context = _filterService.CreateFilterProductContext(filter, categoryID, path, pagesize, orderby, viewmode); _filterService.ProductFilterable(context); return(PartialView(new ProductFilterModel { Context = context })); }
public ActionResult Products(string filter, int categoryID, string path, int?pagesize, int?orderby, string viewmode) { var context = _filterService.CreateFilterProductContext(filter, categoryID, path, pagesize, orderby, viewmode); _filterService.ProductFilterable(context); return(PartialView(new ProductFilterModel { Context = context, IsShowAllText = IsShowAllText(context.Criteria), MaxFilterItemsToDisplay = _catalogSettings.MaxFilterItemsToDisplay, ExpandAllFilterGroups = _catalogSettings.ExpandAllFilterCriteria })); }