mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Revert "Allow collection sort by Release Date Descending"
This commit is contained in:
parent
727f176542
commit
5975a0c5c8
@ -125,7 +125,7 @@ namespace MediaBrowser.Controller.Entities.Movies
|
|||||||
if (string.Equals(DisplayOrder, "PremiereDate", StringComparison.OrdinalIgnoreCase))
|
if (string.Equals(DisplayOrder, "PremiereDate", StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
// Sort by release date
|
// 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
|
// Default sorting
|
||||||
|
Loading…
x
Reference in New Issue
Block a user