add filming locations

This commit is contained in:
j 2018-08-10 10:26:01 +01:00
parent f17f551214
commit 09b68b9f6f
2 changed files with 11 additions and 17 deletions

View file

@ -700,6 +700,16 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"find": true, "find": true,
"sort": true "sort": true
}, },
{
"id": "filmingLocations",
"title": "Filming Location",
"type": ["string"],
"autocomplete": false,
"columnWidth": 180,
"filter": false,
"find": true,
"sort": false
},
{ {
"id": "genre", "id": "genre",
"title": "Genre", "title": "Genre",

View file

@ -313,23 +313,7 @@ pandora.ui.infoView = function(data) {
]); ]);
renderGroup(['actor']); renderGroup(['actor']);
renderGroup(['filmingLocations']);
data.cast && $('<div>')
.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(['imdbId', 'genre']); renderGroup(['imdbId', 'genre']);