mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-02-03 19:22:59 +00:00
fix DeviceDiscovery
This commit is contained in:
@@ -345,7 +345,8 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||
|
||||
if (!folder.IsPreSorted)
|
||||
{
|
||||
items = items.OrderBy(i => i.SortName).ToArray();
|
||||
items = _libraryManager.Sort(items, user, new[] { ItemSortBy.SortName }, SortOrder.Ascending)
|
||||
.ToArray();
|
||||
}
|
||||
|
||||
return items;
|
||||
|
||||
Reference in New Issue
Block a user