Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update group dependencies for new rfc model #6773

Merged
merged 10 commits into from
Dec 14, 2023
Prev Previous commit
Next Next commit
fix: ignore subseries non-downrefs
  • Loading branch information
jennifer-richards committed Dec 13, 2023
commit 368d525f71b2ebc5910e85e2e591aabc8df25018
4 changes: 2 additions & 2 deletions ietf/group/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,8 +764,8 @@ def dependencies(request, acronym, group_type=None):

links = set()
for x in relations:
target_state = x.target.get_state_slug("draft")
if target_state != "rfc" or x.is_downref():
always_include = x.target.type_id not in rfc_or_subseries and x.target.get_state_slug("draft") != "rfc"
if always_include or x.is_downref():
links.add(x)

replacements = RelatedDocument.objects.filter(
Expand Down