From 95df98b6d4640c79b005118d837a4fb1f468da97 Mon Sep 17 00:00:00 2001 From: Robert Sparks Date: Tue, 3 Nov 2015 12:29:10 +0000 Subject: [PATCH] Addresses an issue where the WG document page would show the same document in more than one section. Fixes #1827. Commit ready for merge. - Legacy-Id: 10405 --- ietf/group/info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/group/info.py b/ietf/group/info.py index 60faac760..8a9f5c564 100644 --- a/ietf/group/info.py +++ b/ietf/group/info.py @@ -390,7 +390,7 @@ def search_for_group_documents(group): for d in raw_docs_related: parts = d.name.split("-", 2); # canonical form draft--wg-etc - if len(parts) >= 3 and parts[1] not in ("ietf", "irtf") and parts[2].startswith(group.acronym + "-"): + if len(parts) >= 3 and parts[1] not in ("ietf", "irtf") and parts[2].startswith(group.acronym + "-") and d not in docs: d.search_heading = "Related Internet-Draft" docs_related.append(d)