add support for multiple treating groups (#22009)
This commit is contained in:
parent
5d3eb88d2b
commit
aed8a23a0f
|
@ -82,7 +82,8 @@ def process(cfg, filename, payload, enable_ocr=True):
|
|||
'-F', 'form.widgets.portal_type=%s' % cfg.get('default_type'),
|
||||
'-F', 'form.widgets.location=%s' % cfg.get('default_directory'),
|
||||
'-F', 'form.widgets.owner=%s' % cfg.get('user'),
|
||||
'-F', 'form.widgets.treating_group=%s' % cfg.get('treating_group'),
|
||||
'-F', 'form.widgets.treating_groups=%s' % (
|
||||
cfg.get('treating_groups') or cfg.get('treating_groups') or ''),
|
||||
'-F', 'form.widgets.title=%s' % title,
|
||||
'-F', 'form.widgets.keywords=%s' % cfg.get('keywords', ''),
|
||||
'-u', '%s:%s' % (cfg.get('ged_username'), cfg.get('ged_password')),
|
||||
|
|
Reference in New Issue