Revert "Allow collection sort by Release Date Descending"

This commit is contained in:
Bond-009
2024-06-05 12:02:25 +02:00
committed by GitHub
parent 727f176542
commit 5975a0c5c8

View File

@@ -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