diff --git a/pandora/item/management/commands/update_external.py b/pandora/item/management/commands/update_external.py index aea8c530..4dbd1cbd 100644 --- a/pandora/item/management/commands/update_external.py +++ b/pandora/item/management/commands/update_external.py @@ -17,9 +17,9 @@ class Command(BaseCommand): def add_arguments(self, parser): parser.add_argument('--all', action='store_true', dest='all', - default=False, help='update all items, otherwise oldes N'), + default=False, help='update all items, otherwise oldes N') parser.add_argument('-n', '--items', action='store', dest='items', type=int, - default=30, help='number of items ot update'), + default=30, help='number of items ot update') def handle(self, **options): offset = 0 diff --git a/static/js/idDialog.js b/static/js/idDialog.js index aab1adc6..ba82d19f 100644 --- a/static/js/idDialog.js +++ b/static/js/idDialog.js @@ -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(' — ');