Compare commits
2 commits
9686aab860
...
72272dfde4
| Author | SHA1 | Date | |
|---|---|---|---|
| 72272dfde4 | |||
| ac7ffb1845 |
2 changed files with 3 additions and 3 deletions
|
|
@ -17,9 +17,9 @@ class Command(BaseCommand):
|
||||||
|
|
||||||
def add_arguments(self, parser):
|
def add_arguments(self, parser):
|
||||||
parser.add_argument('--all', action='store_true', dest='all',
|
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,
|
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):
|
def handle(self, **options):
|
||||||
offset = 0
|
offset = 0
|
||||||
|
|
|
||||||
|
|
@ -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…
Add table
Add a link
Reference in a new issue