From 1a9371a636d725b5822ec5b5bf033c97d2d2daeb Mon Sep 17 00:00:00 2001 From: Luciano Delucchi Date: Sun, 29 Aug 2021 16:54:07 +0200 Subject: [PATCH] Update README (#155) Small typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2df5166..1e2e136 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ Where `SieveCustomSortMethodsOfPosts` for example is: ```C# public class SieveCustomSortMethods : ISieveCustomSortMethods { - public IQueryable Popularity(IQueryable source, bool useThenBy, bool desc) // The method is given an indicator of weather to use ThenBy(), and if the query is descending + public IQueryable Popularity(IQueryable source, bool useThenBy, bool desc) // The method is given an indicator of whether to use ThenBy(), and if the query is descending { var result = useThenBy ? ((IOrderedQueryable)source).ThenBy(p => p.LikeCount) : // ThenBy only works on IOrderedQueryable