From 9cca5553e2e5844c0d55613865b12a4034179ab0 Mon Sep 17 00:00:00 2001 From: Steve Smith Date: Tue, 27 Nov 2018 10:12:22 -0500 Subject: [PATCH] Adding one more set of curly braces --- src/Infrastructure/Data/SpecificationEvaluator.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Infrastructure/Data/SpecificationEvaluator.cs b/src/Infrastructure/Data/SpecificationEvaluator.cs index 111b44f..88910d2 100644 --- a/src/Infrastructure/Data/SpecificationEvaluator.cs +++ b/src/Infrastructure/Data/SpecificationEvaluator.cs @@ -16,7 +16,9 @@ namespace Microsoft.eShopWeb.Infrastructure.Data // modify the IQueryable using the specification's criteria expression if (specification.Criteria != null) + { query = query.Where(specification.Criteria); + } // Includes all expression-based includes query = specification.Includes.Aggregate(query,