From be6652f1c99424ff70450f5fee889397ec03d4b6 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 8 Mar 2012 18:18:26 +0000 Subject: [PATCH] if sort is random, display year in movies browser --- static/js/pandora/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora/browser.js b/static/js/pandora/browser.js index 7d254136..ba55d5cb 100644 --- a/static/js/pandora/browser.js +++ b/static/js/pandora/browser.js @@ -63,7 +63,7 @@ pandora.ui.browser = function() { ? (ui.showSitePoster ? 'siteposter' : 'poster') : 'icon' ) + '128.jpg', format, info, sortKey = sort[0].key; - if (['title', 'director'].indexOf(sortKey) > -1) { + if (['title', 'director', 'random'].indexOf(sortKey) > -1) { info = data['year']; } else { // fixme: this is duplicated many times