Add PaginatedQuery abstract class, change startIndex to skip

This commit is contained in:
Patrick Barron
2021-05-20 20:48:41 -04:00
parent e1f7086077
commit ab63a7745c
4 changed files with 21 additions and 13 deletions

View File

@@ -62,7 +62,7 @@ namespace Jellyfin.Server.Implementations.Activity
return new QueryResult<ActivityLogEntry>
{
Items = await entries
.Skip(query.StartIndex ?? 0)
.Skip(query.Skip ?? 0)
.Take(query.Limit ?? 100)
.AsAsyncEnumerable()
.Select(ConvertToOldModel)