update filmographies

This commit is contained in:
rolux 2013-03-14 07:44:50 +00:00
parent 70cfee4f73
commit fb873c8dda

View file

@ -600,7 +600,7 @@ pandora.ui.infoView = function(data) {
if (result.data.items) {
result.data.items.forEach(function(item) {
var year = item.year || 'Unknown Year';
if (key == 'name') {
if (key == 'name' && result.data.item.length > 1) {
item.roles = nameKeys.filter(function(nameKey) {
return Ox.contains(item[nameKey], value);
});