also fallback to date in context browser, fixes #2777
This commit is contained in:
parent
47a3a24a7d
commit
09c3c4b959
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ pandora.ui.browser = function() {
|
||||||
) + '128.jpg?' + data.modified),
|
) + '128.jpg?' + data.modified),
|
||||||
format, info, sortKey = sort[0].key;
|
format, info, sortKey = sort[0].key;
|
||||||
if (['title', 'director', 'random'].indexOf(sortKey) > -1) {
|
if (['title', 'director', 'random'].indexOf(sortKey) > -1) {
|
||||||
info = data['year'];
|
info = data['year'] || data['date'] || '';
|
||||||
} else {
|
} else {
|
||||||
// fixme: this is duplicated many times
|
// fixme: this is duplicated many times
|
||||||
format = pandora.getSortKeyData(sortKey).format;
|
format = pandora.getSortKeyData(sortKey).format;
|
||||||
|
|
Loading…
Reference in a new issue