diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-06-24 00:18:02 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-06-24 00:18:02 -0400 |
| commit | 88d241edc130591b501829de42bc12b6f5fc576c (patch) | |
| tree | 0dd55390f31d5efc60bbf448b845f23b9aea4ca7 /MediaBrowser.Server.Implementations | |
| parent | e379e3fe956c6041bbb85bffe738ed976ad0ce1d (diff) | |
add ShortOverview
Diffstat (limited to 'MediaBrowser.Server.Implementations')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Dto/DtoService.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/Dto/DtoService.cs b/MediaBrowser.Server.Implementations/Dto/DtoService.cs index 348d3cb26..061898176 100644 --- a/MediaBrowser.Server.Implementations/Dto/DtoService.cs +++ b/MediaBrowser.Server.Implementations/Dto/DtoService.cs @@ -781,6 +781,15 @@ namespace MediaBrowser.Server.Implementations.Dto } } + if (fields.Contains(ItemFields.ShortOverview)) + { + var hasShortOverview = item as IHasShortOverview; + if (hasShortOverview != null) + { + dto.ShortOverview = hasShortOverview.ShortOverview; + } + } + // If there are no backdrops, indicate what parent has them in case the Ui wants to allow inheritance if (dto.BackdropImageTags.Count == 0) { |
