mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 22:43:07 +03:00
add custom collection sort orders to edit page
This commit is contained in:
@@ -764,6 +764,12 @@ namespace MediaBrowser.Server.Implementations.Dto
|
||||
dto.LocalTrailerCount = hasTrailers.LocalTrailerIds.Count;
|
||||
}
|
||||
|
||||
var hasDisplayOrder = item as IHasDisplayOrder;
|
||||
if (hasDisplayOrder != null)
|
||||
{
|
||||
dto.DisplayOrder = hasDisplayOrder.DisplayOrder;
|
||||
}
|
||||
|
||||
if (fields.Contains(ItemFields.RemoteTrailers))
|
||||
{
|
||||
dto.RemoteTrailers = hasTrailers != null ?
|
||||
|
||||
Reference in New Issue
Block a user