forked from 0x2620/pandora
avoid double titles
This commit is contained in:
parent
ac7ffb1845
commit
72272dfde4
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ pandora.ui.idDialog = function(data) {
|
||||||
}
|
}
|
||||||
return Ox.filter([
|
return Ox.filter([
|
||||||
item.id,
|
item.id,
|
||||||
item.title + (item.originalTitle ? ' (' + item.originalTitle + ')' : ''),
|
item.title + ((item.originalTitle && item.title != item.originalTitle) ? ' (' + item.originalTitle + ')' : ''),
|
||||||
item.director ? item.director.join(', ') : '',
|
item.director ? item.director.join(', ') : '',
|
||||||
item.year
|
item.year
|
||||||
]).join(' — ');
|
]).join(' — ');
|
||||||
|
|
Loading…
Reference in a new issue