diff --git a/static/js/pandora/ui/list.js b/static/js/pandora/ui/list.js index 742bb6bb..7c089592 100644 --- a/static/js/pandora/ui/list.js +++ b/static/js/pandora/ui/list.js @@ -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)]