Revert "Remove unnecessary ToList"

This reverts commit 42abb5a993.
This commit is contained in:
Claus Vium 2019-02-19 17:39:30 +01:00
parent de5c0bab70
commit 46acff4113

View File

@ -179,7 +179,7 @@ namespace Emby.Naming.Video
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
{