fix collection content getting lost

This commit is contained in:
Luke Pulverenti 2016-01-27 13:08:35 -05:00
parent 361dedc314
commit c401761f91

View File

@ -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;
}
}