This commit is contained in:
rolux 2013-03-14 14:15:16 +05:30
parent fb873c8dda
commit 65e2825f65

View file

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