Skip to content

Commit 8f1e999

Browse files
committed
Only show a blocked document once in the set of blocked documents on an ADs document page. Fixes ietf-tools#2818. Commit ready for merge.
- Legacy-Id: 16937
1 parent 7560e11 commit 8f1e999

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/doc/views_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ def docs_for_ad(request, name):
425425
Q(states__type__in=("statchg", "conflrev"),
426426
states__slug__in=("iesgeval", "defer")),
427427
docevent__ballotpositiondocevent__pos__blocking=True,
428-
docevent__ballotpositiondocevent__ad=ad)
428+
docevent__ballotpositiondocevent__ad=ad).distinct()
429429
for doc in possible_docs:
430430
ballot = doc.active_ballot()
431431
if not ballot:

0 commit comments

Comments
 (0)