Fixed a case of indeterminate ordering.
- Legacy-Id: 16343
This commit is contained in:
parent
8b52899459
commit
ff6997df2b
|
@ -1456,7 +1456,7 @@ def release_draft(request, name):
|
|||
events = []
|
||||
|
||||
if doc.stream.slug == 'ise' or doc.group.type_id != 'individ':
|
||||
existing_tags = set(doc.tags.all())
|
||||
existing_tags = list(doc.tags.all())
|
||||
if existing_tags:
|
||||
doc.tags.clear()
|
||||
e = DocEvent(type="changed_document", doc=doc, rev=doc.rev, by=by)
|
||||
|
|
Loading…
Reference in a new issue