mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
refactor
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
1b90798b90
commit
8e0b1109bc
1 changed files with 1 additions and 1 deletions
|
@ -129,8 +129,8 @@ namespace MediaBrowser.Api
|
||||||
var items = request.Ids.Split(',')
|
var items = request.Ids.Split(',')
|
||||||
.Select(i => _libraryManager.GetItemById(i))
|
.Select(i => _libraryManager.GetItemById(i))
|
||||||
.OfType<Video>()
|
.OfType<Video>()
|
||||||
|
.OrderBy(i => i.Id)
|
||||||
.ToList();
|
.ToList();
|
||||||
items = items.OrderBy(i => i.Id).ToList();
|
|
||||||
|
|
||||||
if (items.Count < 2)
|
if (items.Count < 2)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue