mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Revert "Remove unnecessary ToList"
This reverts commit 42abb5a9931806a2ae1cedd433144ebf82768a0d.
This commit is contained in:
parent
de5c0bab70
commit
46acff4113
@ -179,7 +179,7 @@ namespace Emby.Naming.Video
|
|||||||
|
|
||||||
if (!string.IsNullOrEmpty(folderName) && folderName.Length > 1)
|
if (!string.IsNullOrEmpty(folderName) && folderName.Length > 1)
|
||||||
{
|
{
|
||||||
var ordered = videos.OrderBy(i => i.Name);
|
var ordered = videos.OrderBy(i => i.Name).ToList();
|
||||||
|
|
||||||
return ordered.GroupBy(v => new {v.Name, v.Year}).Select(group => new VideoInfo
|
return ordered.GroupBy(v => new {v.Name, v.Year}).Select(group => new VideoInfo
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user