mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 03:48:06 +02:00
removed IBN sorting from the api
This commit is contained in:
parent
2d70f71a95
commit
33904f51f5
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue