Use Order() introduced in .NET 7 (#8923)

This commit is contained in:
Bond-009
2022-12-19 17:30:00 +01:00
committed by GitHub
parent b80b50437c
commit 497d8c4957
5 changed files with 9 additions and 9 deletions

View File

@@ -529,7 +529,7 @@ namespace Emby.Server.Implementations.Library.Resolvers.Movies
}
return false;
}).OrderBy(i => i).ToList();
}).Order().ToList();
// If different video types were found, don't allow this
if (videoTypes.Distinct().Count() > 1)