diff options
| author | Bond-009 <bond.009@outlook.com> | 2024-06-05 11:52:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-05 11:52:07 +0200 |
| commit | 727f1765420601ecc84ed3c8216ba6812ac979e6 (patch) | |
| tree | 2775afd9d1686c0909e82cea4f036830d9eac09c | |
| parent | dc4271505b42730e3334ac0261427e09519ab321 (diff) | |
| parent | d35021db924834a7393b4f7dc15fb89a084779d4 (diff) | |
Merge pull request #11615 from cptn-x/patch-1
Allow collection sort by Release Date Descending
| -rw-r--r-- | MediaBrowser.Controller/Entities/Movies/BoxSet.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/Movies/BoxSet.cs b/MediaBrowser.Controller/Entities/Movies/BoxSet.cs index d7ccfd8aee..8667e6539e 100644 --- a/MediaBrowser.Controller/Entities/Movies/BoxSet.cs +++ b/MediaBrowser.Controller/Entities/Movies/BoxSet.cs @@ -125,7 +125,7 @@ namespace MediaBrowser.Controller.Entities.Movies if (string.Equals(DisplayOrder, "PremiereDate", StringComparison.OrdinalIgnoreCase)) { // Sort by release date - return LibraryManager.Sort(children, user, new[] { ItemSortBy.ProductionYear, ItemSortBy.PremiereDate, ItemSortBy.SortName }, SortOrder.Ascending).ToList(); + return LibraryManager.Sort(children, user, new[] { ItemSortBy.ProductionYear, ItemSortBy.PremiereDate, ItemSortBy.SortName }, SortOrder.Descending).ToList(); } // Default sorting |
