mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-04 06:48:35 +01:00
Remove custom ToArray extension
This commit is contained in:
@@ -1493,7 +1493,7 @@ namespace Emby.Server.Implementations.Library
|
||||
|
||||
return new QueryResult<BaseItem>
|
||||
{
|
||||
Items = list.ToArray(list.Count)
|
||||
Items = list.ToArray()
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -161,8 +161,8 @@ namespace Emby.Server.Implementations.Library
|
||||
var searchQuery = new InternalItemsQuery(user)
|
||||
{
|
||||
SearchTerm = searchTerm,
|
||||
ExcludeItemTypes = excludeItemTypes.ToArray(excludeItemTypes.Count),
|
||||
IncludeItemTypes = includeItemTypes.ToArray(includeItemTypes.Count),
|
||||
ExcludeItemTypes = excludeItemTypes.ToArray(),
|
||||
IncludeItemTypes = includeItemTypes.ToArray(),
|
||||
Limit = query.Limit,
|
||||
IncludeItemsByName = string.IsNullOrEmpty(query.ParentId),
|
||||
ParentId = string.IsNullOrEmpty(query.ParentId) ? Guid.Empty : new Guid(query.ParentId),
|
||||
|
||||
@@ -354,7 +354,7 @@ namespace Emby.Server.Implementations.Library
|
||||
Limit = limit * 5,
|
||||
IsPlayed = isPlayed,
|
||||
DtoOptions = options,
|
||||
MediaTypes = mediaTypes.ToArray(mediaTypes.Count)
|
||||
MediaTypes = mediaTypes.ToArray()
|
||||
};
|
||||
|
||||
if (parents.Count == 0)
|
||||
|
||||
Reference in New Issue
Block a user