From 48bf25e6b4ec8f1ea2d1de443687a006dce4b34a Mon Sep 17 00:00:00 2001 From: j Date: Tue, 9 Jul 2019 12:49:14 +0200 Subject: [PATCH] add keywords --- pandora/config.indiancinema.jsonc | 8 ++++++++ pandora/config.padma.jsonc | 8 ++++++++ static/js/documentInfoView.js | 3 +++ 3 files changed, 19 insertions(+) diff --git a/pandora/config.indiancinema.jsonc b/pandora/config.indiancinema.jsonc index 51fbaa562..be2a79db9 100644 --- a/pandora/config.indiancinema.jsonc +++ b/pandora/config.indiancinema.jsonc @@ -239,6 +239,14 @@ "find": true, "sort": true }, + { + "id": "keywords", + "title": "Keywords", + "type": ["string"], + "columnWidth": 128, + "filter": true, + "find": true + }, { "id": "id", "operator": "+", diff --git a/pandora/config.padma.jsonc b/pandora/config.padma.jsonc index e2f75a3ad..1c445833a 100644 --- a/pandora/config.padma.jsonc +++ b/pandora/config.padma.jsonc @@ -236,6 +236,14 @@ "find": true, "sort": true }, + { + "id": "keywords", + "title": "Keywords", + "type": ["string"], + "columnWidth": 128, + "filter": true, + "find": true + }, { "id": "id", "operator": "+", diff --git a/static/js/documentInfoView.js b/static/js/documentInfoView.js index 592afd454..9b3cd79e3 100644 --- a/static/js/documentInfoView.js +++ b/static/js/documentInfoView.js @@ -232,6 +232,9 @@ pandora.ui.documentInfoView = function(data, isMixed) { renderGroup(['author', 'date', 'type']); renderGroup(['publisher', 'place', 'series', 'edition', 'language']); + Ox.getObjectById(pandora.site.documentKeys, 'keywords') && renderGroup(['keywords']) + + // Description ------------------------------------------------------------- if (canEdit || data.description) {