forked from 0x2620/pandora
add keywords
This commit is contained in:
parent
fa1b98365b
commit
48bf25e6b4
3 changed files with 19 additions and 0 deletions
|
@ -239,6 +239,14 @@
|
|||
"find": true,
|
||||
"sort": true
|
||||
},
|
||||
{
|
||||
"id": "keywords",
|
||||
"title": "Keywords",
|
||||
"type": ["string"],
|
||||
"columnWidth": 128,
|
||||
"filter": true,
|
||||
"find": true
|
||||
},
|
||||
{
|
||||
"id": "id",
|
||||
"operator": "+",
|
||||
|
|
|
@ -236,6 +236,14 @@
|
|||
"find": true,
|
||||
"sort": true
|
||||
},
|
||||
{
|
||||
"id": "keywords",
|
||||
"title": "Keywords",
|
||||
"type": ["string"],
|
||||
"columnWidth": 128,
|
||||
"filter": true,
|
||||
"find": true
|
||||
},
|
||||
{
|
||||
"id": "id",
|
||||
"operator": "+",
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue