admin: expose all workflow status when remapping (#23573)
This commit is contained in:
parent
6a9ad35a40
commit
9d04ffd779
|
@ -793,7 +793,7 @@ class FormDefPage(Directory):
|
|||
new_workflow = Workflow.get(get_request().form.get('new'))
|
||||
if get_request().get_method() == 'GET':
|
||||
get_request().form = None # do not be considered submitted already
|
||||
new_workflow_status = [(x.id, x.name) for x in new_workflow.get_waitpoint_status()]
|
||||
new_workflow_status = [(x.id, x.name) for x in new_workflow.possible_status]
|
||||
form = Form(enctype='multipart/form-data')
|
||||
for status in self.formdef.workflow.possible_status:
|
||||
default = status.id
|
||||
|
|
Loading…
Reference in New Issue