mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
filter in special display order
This commit is contained in:
parent
f737fad43a
commit
e59eac6a07
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user