diff --git a/src/ApplicationCore/Specifications/BaseSpecification.cs b/src/ApplicationCore/Specifications/BaseSpecification.cs index bcf1284..f87b8d5 100644 --- a/src/ApplicationCore/Specifications/BaseSpecification.cs +++ b/src/ApplicationCore/Specifications/BaseSpecification.cs @@ -45,6 +45,7 @@ namespace Microsoft.eShopWeb.ApplicationCore.Specifications OrderByDescending = orderByDescendingExpression; } + //Not used anywhere at the moment, but someone requested an example of setting this up. protected virtual void ApplyGroupBy(Expression> groupByExpression) { GroupBy = groupByExpression; diff --git a/src/ApplicationCore/Specifications/CatalogFilterPaginatedSpecification.cs b/src/ApplicationCore/Specifications/CatalogFilterPaginatedSpecification.cs index 562492d..f24b8c6 100644 --- a/src/ApplicationCore/Specifications/CatalogFilterPaginatedSpecification.cs +++ b/src/ApplicationCore/Specifications/CatalogFilterPaginatedSpecification.cs @@ -9,7 +9,6 @@ namespace Microsoft.eShopWeb.ApplicationCore.Specifications (!typeId.HasValue || i.CatalogTypeId == typeId)) { ApplyPaging(skip, take); - ApplyGroupBy(i => new { i.CatalogType }); } } }