Skip to content

Commit 7113663

Browse files
committed
Merged in [10405] from rjsparks@nostrum.com:
Addresses an issue where the WG document page would show the same document in more than one section. Fixes ietf-tools#1827. - Legacy-Id: 10412 Note: SVN reference [10405] has been migrated to Git commit 95df98b
2 parents 7d692a8 + 95df98b commit 7113663

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)