avoid double titles

This commit is contained in:
j 2019-08-07 10:55:54 +02:00
parent ac7ffb1845
commit 72272dfde4

View file

@ -201,7 +201,7 @@ pandora.ui.idDialog = function(data) {
}
return Ox.filter([
item.id,
item.title + (item.originalTitle ? ' (' + item.originalTitle + ')' : ''),
item.title + ((item.originalTitle && item.title != item.originalTitle) ? ' (' + item.originalTitle + ')' : ''),
item.director ? item.director.join(', ') : '',
item.year
]).join(' — ');