From c401761f91e3c477fd9292ba82cd28ed60550488 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 27 Jan 2016 13:08:35 -0500 Subject: [PATCH] fix collection content getting lost --- MediaBrowser.Providers/BoxSets/BoxSetMetadataService.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/MediaBrowser.Providers/BoxSets/BoxSetMetadataService.cs b/MediaBrowser.Providers/BoxSets/BoxSetMetadataService.cs index cba19a5c29..886099a864 100644 --- a/MediaBrowser.Providers/BoxSets/BoxSetMetadataService.cs +++ b/MediaBrowser.Providers/BoxSets/BoxSetMetadataService.cs @@ -47,11 +47,7 @@ namespace MediaBrowser.Providers.BoxSets if (mergeMetadataSettings) { - var list = sourceItem.LinkedChildren.Where(i => i.Type != LinkedChildType.Manual).ToList(); - - list.AddRange(targetItem.LinkedChildren.Where(i => i.Type == LinkedChildType.Manual)); - - targetItem.LinkedChildren = list; + targetItem.LinkedChildren = sourceItem.LinkedChildren; targetItem.Shares = sourceItem.Shares; } }