update translations

This commit is contained in:
Luke Pulverenti
2015-03-18 13:04:49 -04:00
parent 8f3256a12c
commit 464570e34a
66 changed files with 9788 additions and 9227 deletions

View File

@@ -1638,9 +1638,18 @@ namespace MediaBrowser.Controller.Entities
}
// Apply person filter
if (query.PersonIds.Length > 0 && !(query.PersonIds.Any(v => item.People.Select(i => i.Name).Contains(v, StringComparer.OrdinalIgnoreCase))))
if (query.PersonIds.Length > 0)
{
return false;
var names = query.PersonIds
.Select(libraryManager.GetItemById)
.Select(i => i == null ? "-1" : i.Name)
.ToList();
if (!(names.Any(
v => item.People.Select(i => i.Name).Contains(v, StringComparer.OrdinalIgnoreCase))))
{
return false;
}
}
// Apply person filter