update favorites page

This commit is contained in:
Luke Pulverenti
2015-07-09 01:52:25 -04:00
parent 6d7e606812
commit d4fad83ee2
12 changed files with 54 additions and 24 deletions

View File

@@ -34,7 +34,7 @@ namespace MediaBrowser.Server.Implementations.Library
// If the resolver didn't specify this
if (parent != null)
{
item.Parent = parent;
item.SetParent(parent);
}
item.Id = libraryManager.GetNewItemId(item.Path, item.GetType());
@@ -68,7 +68,7 @@ namespace MediaBrowser.Server.Implementations.Library
// If the resolver didn't specify this
if (args.Parent != null)
{
item.Parent = args.Parent;
item.SetParent(args.Parent);
}
item.Id = libraryManager.GetNewItemId(item.Path, item.GetType());