diff --git a/static/js/infoView.bakma.js b/static/js/infoView.bakma.js index 016d679..ef441d3 100644 --- a/static/js/infoView.bakma.js +++ b/static/js/infoView.bakma.js @@ -18,8 +18,16 @@ pandora.ui.infoView = function(data) { iconLeft = iconSize == 256 ? Math.floor((iconSize - iconWidth) / 2) : 0, borderRadius = ui.icons == 'posters' ? 0 : iconSize / 8, margin = 16, - nameKeys = ['director', 'cinematographer', 'featuring'], - listKeys = nameKeys.concat(['language', 'tag', 'category', 'groups']), + nameKeys = pandora.site.itemKeys.filter(function(key) { + return key.sortType == 'person'; + }).map(function(key) { + return key.id; + }), + listKeys = pandora.site.itemKeys.filter(function(key) { + return Ox.isArray(key.type); + }).map(function(key){ + return key.id; + }), statisticsWidth = 128, $bar = Ox.Bar({size: 16})