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 #1827.
 - Legacy-Id: 10412
Note: SVN reference [10405] has been migrated to Git commit 95df98b6d4
This commit is contained in:
Henrik Levkowetz 2015-11-03 15:44:53 +00:00
commit 7113663676

View file

@ -390,7 +390,7 @@ def search_for_group_documents(group):
for d in raw_docs_related:
parts = d.name.split("-", 2);
# canonical form draft-<name|ietf|irtf>-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)