mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -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…
x
Reference in New Issue
Block a user