Merged in [8602] from suresh.krishnan@ericsson.com:\n Fixes issue #1295.
Synchronize the currently set tags when document state is edited
- Legacy-Id: 8613
Note: SVN reference [8602] has been migrated to Git commit 16c5e24782
This commit is contained in:
commit
8b93881485
|
@ -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