diff options
| author | theguymadmax <171496228+theguymadmax@users.noreply.github.com> | 2025-12-28 07:22:25 -0500 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2025-12-28 07:22:25 -0500 |
| commit | 252ab45473d0a3b5c2f45dee42ced5e6179c6028 (patch) | |
| tree | 4e96da2f74f8161418f4c933d5ebd8f8b3dd8765 /MediaBrowser.Controller/Entities/Folder.cs | |
| parent | afc083e9fa77582ab8f79cf2fb94c9989dadd05b (diff) | |
Backport pull request #15767 from jellyfin/release-10.11.z
Fix collections display order
Original-merge: 22da5187c88a60118cac03bc77427efa72b97888
Merged-by: crobibero <cody@robibe.ro>
Backported-by: Bond_009 <bond.009@outlook.com>
Diffstat (limited to 'MediaBrowser.Controller/Entities/Folder.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Folder.cs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.cs index 59a967725..d2a3290c4 100644 --- a/MediaBrowser.Controller/Entities/Folder.cs +++ b/MediaBrowser.Controller/Entities/Folder.cs @@ -1406,13 +1406,6 @@ namespace MediaBrowser.Controller.Entities .Where(e => query is null || UserViewBuilder.FilterItem(e, query)) .ToArray(); - if (this is BoxSet && (query.OrderBy is null || query.OrderBy.Count == 0)) - { - realChildren = realChildren - .OrderBy(e => e.PremiereDate ?? DateTime.MaxValue) - .ToArray(); - } - var childCount = realChildren.Length; if (result.Count < limit) { |
