This commit is contained in:
j 2019-04-18 11:47:05 +02:00
parent 791e7600b7
commit 962a16a3e8
3 changed files with 14 additions and 0 deletions

View file

@ -195,6 +195,17 @@
"autocomplete": true,
"columnWidth": 256
},
{
"id": "source",
"operator": "+",
"title": "Source",
"type": "string",
"filter": true,
"find": true,
"sort": true,
"autocomplete": true,
"columnWidth": 256
},
{
"id": "group",
"operator": "+",

View file

@ -46,6 +46,8 @@ os.symlink(basename(target), t)
for root, folders, files in os.walk(join(base, 'scripts')):
for f in files:
src = join(root, f)
if '__pycache__' in src or src.endswith('.pyc'):
continue
target = src.replace(base, '/srv/pandora')
rel_src = os.path.relpath(src, dirname(target))
if os.path.exists(target):

View file

@ -231,6 +231,7 @@ pandora.ui.documentInfoView = function(data, isMixed) {
renderGroup(['author', 'date', 'format']);
renderGroup(['publisher', 'place', 'series', 'language']);
renderGroup(['source']);
renderGroup(['movement', 'event', 'associatedgroups']);
renderGroup(['tags']);