if sort is random, display year in movies browser
This commit is contained in:
parent
3833415e1c
commit
be6652f1c9
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ pandora.ui.browser = function() {
|
||||||
? (ui.showSitePoster ? 'siteposter' : 'poster') : 'icon'
|
? (ui.showSitePoster ? 'siteposter' : 'poster') : 'icon'
|
||||||
) + '128.jpg',
|
) + '128.jpg',
|
||||||
format, info, sortKey = sort[0].key;
|
format, info, sortKey = sort[0].key;
|
||||||
if (['title', 'director'].indexOf(sortKey) > -1) {
|
if (['title', 'director', 'random'].indexOf(sortKey) > -1) {
|
||||||
info = data['year'];
|
info = data['year'];
|
||||||
} else {
|
} else {
|
||||||
// fixme: this is duplicated many times
|
// fixme: this is duplicated many times
|
||||||
|
|
Loading…
Reference in a new issue