fix edit sort
This commit is contained in:
parent
abed0f463b
commit
b6aee5e0f1
2 changed files with 16 additions and 3 deletions
13
static/js/getItemTitle.collectivecinema.js
Normal file
13
static/js/getItemTitle.collectivecinema.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
'use strict';
|
||||
|
||||
pandora.getItemTitle = function(itemData, includeDate) {
|
||||
return (itemData.title || Ox._('Untitled')) + (
|
||||
Ox.len(itemData.director) || (includeDate && itemData.date)
|
||||
? ' (' + (
|
||||
Ox.len(itemData.director)
|
||||
? itemData.director
|
||||
: []
|
||||
).join(', ') + ')'
|
||||
: ''
|
||||
) + (includeDate && itemData.date ? ' ' + itemData.date : '')
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue