We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08e0875 commit ae3a2fbCopy full SHA for ae3a2fb
PaginationEF/PagedListQueryableExtensions.cs
@@ -9,7 +9,7 @@ public static async Task<PagedList<T>> ToPagedListAsync<T>(this IQueryable<T> so
9
var count = await source.CountAsync(token);
10
if (count > 0)
11
{
12
- var items = source
+ var items = await source
13
.Skip((page - 1) * pageSize)
14
.Take(pageSize)
15
.ToListAsync(token);
0 commit comments