forked from 0x2620/pandora
fix a regression with the info part of the icon text in grid view, when sorting by director or title
This commit is contained in:
parent
c84c5371fa
commit
188dc1a6ab
1 changed files with 1 additions and 2 deletions
|
@ -149,11 +149,10 @@ pandora.ui.list = 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)]
|
||||
|
|
Loading…
Reference in a new issue