update components

This commit is contained in:
Luke Pulverenti 2016-05-06 16:21:55 -04:00
parent c652d16780
commit c431625d39
2 changed files with 11 additions and 2 deletions

View File

@ -170,7 +170,9 @@ namespace MediaBrowser.Controller.Entities.TV
}
else
{
items = GetEpisodes(query.User).Where(filter);
items = query.Recursive
? GetRecursiveChildren(user, filter)
: GetChildren(user, true).Where(filter);
}
var result = PostFilterAndSort(items, query);
@ -267,6 +269,11 @@ namespace MediaBrowser.Controller.Entities.TV
return GetEpisodes(user);
}
public override IEnumerable<BaseItem> GetRecursiveChildren(User user, Func<BaseItem, bool> filter)
{
return GetEpisodes(user).Where(filter);
}
protected override bool GetBlockUnratedValue(UserPolicy config)
{
// Don't block. Let either the entire series rating or episode rating determine it

View File

@ -164,7 +164,9 @@
<Content Include="dashboard-ui\css\images\logo.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="dashboard-ui\css\polymer\paper-icon-button-light.css" />
<Content Include="dashboard-ui\css\polymer\paper-icon-button-light.css">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="dashboard-ui\devices\windowsphone\wp.css">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>