Sfoglia il codice sorgente

Merge pull request #11971 from jellyfin/revert-11615-patch-1

Revert "Allow collection sort by Release Date Descending"
Bond-009 1 anno fa
parent
commit
7b40c6fef1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      MediaBrowser.Controller/Entities/Movies/BoxSet.cs

+ 1 - 1
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.Descending).ToList();
+                return LibraryManager.Sort(children, user, new[] { ItemSortBy.ProductionYear, ItemSortBy.PremiereDate, ItemSortBy.SortName }, SortOrder.Ascending).ToList();
             }
 
             // Default sorting