Skip to content

Commit 63484a8

Browse files
committed
Merged in [16937] from rjsparks@nostrum.com:
Only show a blocked document once in the set of blocked documents on an ADs document page. Fixes ietf-tools#2818. - Legacy-Id: 16938 Note: SVN reference [16937] has been migrated to Git commit 8f1e999
1 parent 156b492 commit 63484a8

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)