From dc0f8fda4d66924bcb583777ffea7de119a3faa6 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 15 Dec 2017 17:05:11 +0000 Subject: [PATCH] remove keys --- config.jsonc | 77 +-------------------------------------- static/js/infoView.amp.js | 7 +--- 2 files changed, 3 insertions(+), 81 deletions(-) diff --git a/config.jsonc b/config.jsonc index afdafc6..05bb617 100644 --- a/config.jsonc +++ b/config.jsonc @@ -521,78 +521,6 @@ "find": true, "sort": true }, - { - "id": "format", - "title": "Format", - "type": "string", - "autocomplete": true, - "columnWidth": 120, - "filter": true, - "find": true, - "sort": true - }, - { - "id": "director", - "title": "Director", - "type": ["string"], - "autocomplete": true, - "columnRequired": true, - "columnWidth": 180, - "sort": true, - "sortType": "person" - }, - { - "id": "cinematographer", - "title": "Cinematographer", - "type": ["string"], - "autocomplete": true, - "columnWidth": 180, - "poster": true, - "sort": true, - "sortType": "person" - }, - { - "id": "editor", - "title": "Editor", - "type": ["string"], - "autocomplete": true, - "columnWidth": 180, - "poster": true, - "sort": true, - "sortType": "person" - }, - { - "id": "writer", - "title": "Writer", - "type": ["string"], - "autocomplete": true, - "columnWidth": 180, - "poster": true, - "sort": true, - "sortType": "person" - }, - { - "id": "producer", - "title": "Producer", - "type": ["string"], - "autocomplete": true, - "columnWidth": 180, - "poster": true, - "sort": true, - "sortType": "person" - }, - { - "id": "featuring", - "title": "Featuring", - "type": ["string"], - "autocomplete": true, - "columnRequired": true, - "columnWidth": 180, - "filter": true, - "poster": true, - "sort": true, - "sortType": "person" - }, { "id": "name", "title": "People", @@ -914,7 +842,7 @@ displayed at the top of the screen. This title can be customized by adding "/static/js/getItemTitle.SITENAME.js". */ - "itemTitleKeys": ["title", "director", "year"], + "itemTitleKeys": ["title", "year"], /* "itemViews" is an ordered list of available item views. Implemented views are "info", "documents", "player", "editor", "timeline", "clips", "map", @@ -1217,7 +1145,6 @@ "editSelection": [], "editSort": [ {"key": "index", "operator": "+"}, - {"key": "director", "operator": "+"}, {"key": "title", "operator": "+"}, {"key": "position", "operator": "+"}, {"key": "duration", "operator": "+"} @@ -1266,7 +1193,7 @@ }, "section": "items", "sequenceMode": "shape", - "sequenceSort": [{"key": "director", "operator": "+"}], + "sequenceSort": [{"key": "title", "operator": "+"}], "showAdvancedEmbedOptions": false, "showAnnotations": true, "showAnnotationsCalendar": true, diff --git a/static/js/infoView.amp.js b/static/js/infoView.amp.js index d030280..a72ce05 100644 --- a/static/js/infoView.amp.js +++ b/static/js/infoView.amp.js @@ -236,12 +236,7 @@ pandora.ui.infoView = function(data) { // Groups ------------------------------------------------------------------ - renderGroup(['location', 'date', 'language', 'format']); - - renderGroup([ - 'director', 'cinematographer', 'editor', - 'writer', 'producer', 'featuring' - ]); + renderGroup(['location', 'date', 'language']); renderGroup(['themes']);