We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8651087 commit c4bf915Copy full SHA for c4bf915
src/MR.EntityFrameworkCore.KeysetPagination/KeysetPaginationExtensions.cs
@@ -348,7 +348,7 @@ private static IOrderedQueryable<T> ThenOrderBy(IOrderedQueryable<T> query, Keys
348
{
349
isDescending = !isDescending;
350
}
351
- return isDescending ? query.ThenBy(accessExpression) : query.ThenByDescending(accessExpression);
+ return isDescending ? query.ThenByDescending(accessExpression) : query.ThenBy(accessExpression);
352
353
354
private static Expression<Func<T, TKey>> MakeMemberAccessLambda<TKey>(PropertyInfo property)
0 commit comments