aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-01-03 15:32:27 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-01-03 15:32:27 -0500
commitecc6fcfbab7006c7c9bfcf76d329c663a2fa5a2c (patch)
treed849f61148c2da3c2323379413682dc5f4448a00 /MediaBrowser.Server.Implementations
parentede84702d1805fac2f452bf298e59549893baea5 (diff)
add custom collection sort orders to edit page
Diffstat (limited to 'MediaBrowser.Server.Implementations')
-rw-r--r--MediaBrowser.Server.Implementations/Dto/DtoService.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/Dto/DtoService.cs b/MediaBrowser.Server.Implementations/Dto/DtoService.cs
index 932c7ba3f..4f97a6506 100644
--- a/MediaBrowser.Server.Implementations/Dto/DtoService.cs
+++ b/MediaBrowser.Server.Implementations/Dto/DtoService.cs
@@ -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 ?