Synchronize the currently set tags when document state is edited
- Legacy-Id: 8602
This commit is contained in:
parent
b74d4e7795
commit
16c5e24782
|
@ -1428,7 +1428,7 @@ def change_stream_state(request, name, state_type):
|
|||
|
||||
return HttpResponseRedirect(doc.get_absolute_url())
|
||||
else:
|
||||
form = ChangeStreamStateForm(initial=dict(new_state=prev_state.pk if prev_state else None),
|
||||
form = ChangeStreamStateForm(initial=dict(new_state=prev_state.pk if prev_state else None, tags= doc.tags.all()),
|
||||
doc=doc, state_type=state_type)
|
||||
|
||||
milestones = doc.groupmilestone_set.all()
|
||||
|
|
Loading…
Reference in a new issue