mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 10:04:44 +01:00
Add PaginatedQuery abstract class, change startIndex to skip
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user