forked from 0x2620/pandora
update filmographies
This commit is contained in:
parent
70cfee4f73
commit
fb873c8dda
1 changed files with 1 additions and 1 deletions
|
@ -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') {
|
if (key == 'name' && result.data.item.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);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue