fix a regression regarding the info part of the icon text in the movie browser when sorting by title or director
This commit is contained in:
parent
459fe87f7c
commit
8345f12998
2 changed files with 2 additions and 2 deletions
|
@ -61,11 +61,10 @@ pandora.ui.browser = function() {
|
|||
ui.icons == 'posters'
|
||||
? (ui.showSitePoster ? 'siteposter' : 'poster') : 'icon'
|
||||
) + size + '.jpg',
|
||||
format, info, sortKey;
|
||||
format, info, sortKey = sort[0].key;
|
||||
if (['title', 'director'].indexOf(sortKey) > -1) {
|
||||
info = data['year'];
|
||||
} else {
|
||||
sortKey = sort[0].key;
|
||||
format = pandora.getSortKeyData(sortKey).format;
|
||||
info = format
|
||||
? Ox['format' + Ox.toTitleCase(format.type)]
|
||||
|
|
|
@ -193,6 +193,7 @@ pandora.ui.infoView = function(data) {
|
|||
)
|
||||
.appendTo($text);
|
||||
|
||||
// fixme: creator seems to be always missing
|
||||
if (data.creator || data.writer || data.producer || data.cinematographer || data.editor) {
|
||||
$div = $('<div>')
|
||||
.css(css)
|
||||
|
|
Loading…
Reference in a new issue