consolidate people access

This commit is contained in:
Luke Pulverenti
2015-06-28 12:36:25 -04:00
parent 4ea244e4cd
commit 8afd04ae37
13 changed files with 130 additions and 107 deletions

View File

@@ -76,7 +76,7 @@ namespace MediaBrowser.Controller.Entities
public Func<BaseItem, bool> GetItemFilter()
{
return i => i.People.Any(p => string.Equals(p.Name, Name, StringComparison.OrdinalIgnoreCase));
return i => LibraryManager.GetPeople(i).Any(p => string.Equals(p.Name, Name, StringComparison.OrdinalIgnoreCase));
}
}