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, "autocomplete": true,
"columnWidth": 256 "columnWidth": 256
}, },
{
"id": "source",
"operator": "+",
"title": "Source",
"type": "string",
"filter": true,
"find": true,
"sort": true,
"autocomplete": true,
"columnWidth": 256
},
{ {
"id": "group", "id": "group",
"operator": "+", "operator": "+",

View file

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

View file

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