diff --git a/config.jsonc b/config.jsonc index 8735957..d7bff84 100644 --- a/config.jsonc +++ b/config.jsonc @@ -700,6 +700,16 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution. "find": true, "sort": true }, + { + "id": "filmingLocations", + "title": "Filming Location", + "type": ["string"], + "autocomplete": false, + "columnWidth": 180, + "filter": false, + "find": true, + "sort": false + }, { "id": "genre", "title": "Genre", diff --git a/static/js/infoView.cms.js b/static/js/infoView.cms.js index 5237fad..fe644ac 100644 --- a/static/js/infoView.cms.js +++ b/static/js/infoView.cms.js @@ -313,23 +313,7 @@ pandora.ui.infoView = function(data) { ]); renderGroup(['actor']); - - data.cast && $('
') - .addClass('OxSelectable') - .css(css) - .html( - formatKey('cast') + data.cast.map(function(value) { - // FIXME: 'uncredited' should be removed on the backend - value.character = value.character.replace('(uncredited)', '').trim(); - return formatValue(value.actor, 'name') - + ( - canSeeAllMetadata && value.character - ? ' ' + formatLight('(' + value.character + ')') - : '' - ); - }).join(', ') - ) - .appendTo($text); + renderGroup(['filmingLocations']); renderGroup(['imdbId', 'genre']);