Skip to content

Commit 95df98b

Browse files
committed
Addresses an issue where the WG document page would show the same document in more than one section. Fixes ietf-tools#1827. Commit ready for merge.
- Legacy-Id: 10405
1 parent be377e5 commit 95df98b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/group/info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def search_for_group_documents(group):
390390
for d in raw_docs_related:
391391
parts = d.name.split("-", 2);
392392
# canonical form draft-<name|ietf|irtf>-wg-etc
393-
if len(parts) >= 3 and parts[1] not in ("ietf", "irtf") and parts[2].startswith(group.acronym + "-"):
393+
if len(parts) >= 3 and parts[1] not in ("ietf", "irtf") and parts[2].startswith(group.acronym + "-") and d not in docs:
394394
d.search_heading = "Related Internet-Draft"
395395
docs_related.append(d)
396396

0 commit comments

Comments
 (0)