Skip to content

Commit 1591b3e

Browse files
committed
Fixed an issue where simplified sorting of DocEvents resulted in some ballot icons not being shown on the IESG agenda documents page.
- Legacy-Id: 15046
1 parent 5733db6 commit 1591b3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/doc/utils_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def fill_in_document_table_attributes(docs, have_telechat_date=False):
6464
doc_dict[e.doc_id].latest_event_cache[e.type] = e
6565

6666
seen = set()
67-
for e in BallotDocEvent.objects.filter(doc__in=doc_ids, type__in=('created_ballot', 'closed_ballot')).order_by('-time'):
67+
for e in BallotDocEvent.objects.filter(doc__in=doc_ids, type__in=('created_ballot', 'closed_ballot')).order_by('-time','-id'):
6868
if not e.doc_id in seen:
6969
doc_dict[e.doc_id].ballot = e if e.type == 'created_ballot' else None
7070
seen.add(e.doc_id)

0 commit comments

Comments
 (0)