mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04:00
removed IBN sorting from the api
This commit is contained in:
parent
2d70f71a95
commit
33904f51f5
@ -1,5 +1,4 @@
|
|||||||
using MediaBrowser.Common.Implementations.HttpServer;
|
using MediaBrowser.Common.Implementations.HttpServer;
|
||||||
using MediaBrowser.Controller;
|
|
||||||
using MediaBrowser.Controller.Entities;
|
using MediaBrowser.Controller.Entities;
|
||||||
using MediaBrowser.Controller.Library;
|
using MediaBrowser.Controller.Library;
|
||||||
using MediaBrowser.Model.Dto;
|
using MediaBrowser.Model.Dto;
|
||||||
@ -88,7 +87,7 @@ namespace MediaBrowser.Api.UserLibrary
|
|||||||
|
|
||||||
var resultItems = await Task.WhenAll(tasks).ConfigureAwait(false);
|
var resultItems = await Task.WhenAll(tasks).ConfigureAwait(false);
|
||||||
|
|
||||||
result.Items = resultItems.Where(i => i != null).OrderByDescending(i => i.SortName ?? i.Name).ToArray();
|
result.Items = resultItems.Where(i => i != null).ToArray();
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user