mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-19 04:34:18 +01:00
filter in special display order
This commit is contained in:
@@ -122,6 +122,11 @@ namespace MediaBrowser.Controller.Entities.Movies
|
|||||||
};
|
};
|
||||||
if (!string.IsNullOrEmpty(DisplayOrder))
|
if (!string.IsNullOrEmpty(DisplayOrder))
|
||||||
{
|
{
|
||||||
|
if (DisplayOrder == "InsertDate")
|
||||||
|
{
|
||||||
|
return items;
|
||||||
|
}
|
||||||
|
|
||||||
sortBy = new[]
|
sortBy = new[]
|
||||||
{
|
{
|
||||||
Enum.Parse<ItemSortBy>(DisplayOrder)
|
Enum.Parse<ItemSortBy>(DisplayOrder)
|
||||||
|
|||||||
Reference in New Issue
Block a user