list categories

This commit is contained in:
j 2019-10-23 15:07:26 +02:00
parent 0b8d9bd04b
commit c8e6bc8f83
2 changed files with 6 additions and 16 deletions

View file

@ -519,17 +519,6 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"find": true, "find": true,
"sort": true "sort": true
}, },
{
"id": "project",
"title": "Project",
"type": "string",
"autocomplete": true,
"description": true,
"columnWidth": 120,
"filter": true,
"find": true,
"sort": true
},
{ {
"id": "categories", "id": "categories",
"title": "Categories", "title": "Categories",
@ -1160,7 +1149,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"findDocuments": {"conditions": [], "operator": "&"}, "findDocuments": {"conditions": [], "operator": "&"},
"followPlayer": true, "followPlayer": true,
"help": "", "help": "",
"icons": "posters", "icons": "frames",
"infoIconSize": 256, "infoIconSize": 256,
"item": "", "item": "",
"itemFind": "", "itemFind": "",

View file

@ -229,7 +229,7 @@ pandora.ui.infoView = function(data, isMixed) {
// Source & Project -------------------------------------------------------- // Source & Project --------------------------------------------------------
if (!isMultiple) { if (!isMultiple) {
['source', 'project'].forEach(function(key) { ['source'].forEach(function(key) {
if (canEdit || data[key]) { if (canEdit || data[key]) {
var $div = $('<div>') var $div = $('<div>')
.addClass('OxSelectable') .addClass('OxSelectable')
@ -325,12 +325,13 @@ pandora.ui.infoView = function(data, isMixed) {
renderGroup(['date', 'language']); renderGroup(['date', 'language']);
renderGroup(['director', 'featuring']); //renderGroup(['director', 'featuring']);
if (isMultiple) { if (isMultiple) {
renderGroup(['source', 'project']); renderGroup(['source']);
} }
renderGroup(['topic']); renderGroup(['categories']);
// Summary ------------------------------------------------------------- // Summary -------------------------------------------------------------