From 09c3c4b959d640e725715e6ad7cda4406aaa09a6 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 19 May 2015 14:47:47 +0530 Subject: [PATCH] also fallback to date in context browser, fixes #2777 --- static/js/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/browser.js b/static/js/browser.js index 6759820d5..9a29c90a8 100644 --- a/static/js/browser.js +++ b/static/js/browser.js @@ -84,7 +84,7 @@ pandora.ui.browser = function() { ) + '128.jpg?' + data.modified), format, info, sortKey = sort[0].key; if (['title', 'director', 'random'].indexOf(sortKey) > -1) { - info = data['year']; + info = data['year'] || data['date'] || ''; } else { // fixme: this is duplicated many times format = pandora.getSortKeyData(sortKey).format;