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
Allow to filtering by rating on collection page
supportbdba6df15c71
diff --git a/src/Web/Grand.Web/Features/Handlers/Catalog/GetCollectionHandler.cs b/src/Web/Grand.Web/Features/Handlers/Catalog/GetCollectionHandler.csindex 966953148..eeb963a6f 100644--- a/src/Web/Grand.Web/Features/Handlers/Catalog/GetCollectionHandler.cs+++ b/src/Web/Grand.Web/Features/Handlers/Catalog/GetCollectionHandler.cs@@ -109,7 +109,8 @@ namespace Grand.Web.Features.Handlers.CatalogVisibleIndividuallyOnly = true,FeaturedProducts = _catalogSettings.IncludeFeaturedProductsInNormalLists ? null : false,FilteredSpecs = alreadyFilteredSpecOptionIds,- OrderBy = (ProductSortingEnum)request.Command.OrderBy,+ OrderBy = (ProductSortingEnum)request.Command.OrderBy!,+ Rating = request.Command.Rating,PageIndex = request.Command.PageNumber - 1,PageSize = request.Command.PageSize}, cancellationToken);