update dialogs

pull/702/head
Luke Pulverenti 9 years ago
parent 82ad494189
commit 270e423acc

@ -444,7 +444,10 @@ namespace MediaBrowser.Controller.Entities
query.ParentId = parent.Id;
query.SetUser(user);
query.IncludeItemTypes = new[] { typeof(Movie).Name, typeof(BoxSet).Name };
if (query.IncludeItemTypes.Length == 0)
{
query.IncludeItemTypes = new[] { typeof(Movie).Name, typeof(BoxSet).Name };
}
return _libraryManager.GetItemsResult(query);
}
@ -601,7 +604,10 @@ namespace MediaBrowser.Controller.Entities
query.ParentId = parent.Id;
query.SetUser(user);
query.IncludeItemTypes = new[] { typeof(Series).Name, typeof(Season).Name, typeof(Episode).Name };
if (query.IncludeItemTypes.Length == 0)
{
query.IncludeItemTypes = new[] { typeof(Series).Name, typeof(Season).Name, typeof(Episode).Name };
}
return _libraryManager.GetItemsResult(query);
}

Loading…
Cancel
Save