fix collection content getting lost

pull/702/head
Luke Pulverenti 9 years ago
parent 361dedc314
commit c401761f91

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

Loading…
Cancel
Save