Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
fix(web): remove spurious null-guard on Category.PageSizeOptions (#800)
Krzysztof Pajaka6bb196da7c8
diff --git a/src/Web/Grand.Web/Features/Handlers/Catalog/GetViewSortSizeOptionsHandler.cs b/src/Web/Grand.Web/Features/Handlers/Catalog/GetViewSortSizeOptionsHandler.csindex 84e285c85..03fdb42db 100644--- a/src/Web/Grand.Web/Features/Handlers/Catalog/GetViewSortSizeOptionsHandler.cs+++ b/src/Web/Grand.Web/Features/Handlers/Catalog/GetViewSortSizeOptionsHandler.cs@@ -38,7 +38,6 @@ public class GetViewSortSizeOptionsHandler : IRequestHandler<GetViewSortSizeOptiprivate void PrepareSortingOptions(GetViewSortSizeOptions request){- ArgumentNullException.ThrowIfNull(request.PageSizeOptions);ArgumentNullException.ThrowIfNull(request.Command);var allDisabled = _catalogSettings.ProductSortingEnumDisabled.Count ==