mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-04 06:48:35 +01:00
Properly populate QueryResult
This commit is contained in:
@@ -304,11 +304,10 @@ namespace Emby.Server.Implementations.TV
|
||||
items = items.Take(query.Limit.Value);
|
||||
}
|
||||
|
||||
return new QueryResult<BaseItem>
|
||||
{
|
||||
TotalRecordCount = totalCount,
|
||||
Items = items.ToArray()
|
||||
};
|
||||
return new QueryResult<BaseItem>(
|
||||
query.StartIndex,
|
||||
totalCount,
|
||||
items.ToArray());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user