Browse Source

fix collection content getting lost

Luke Pulverenti 9 years ago
parent
commit
c401761f91
1 changed files with 1 additions and 5 deletions
  1. 1 5
      MediaBrowser.Providers/BoxSets/BoxSetMetadataService.cs

+ 1 - 5
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;
             }
         }