Skip to content

Commit 6eeffb1

Browse files
committed
fix: become agnostic about RFC states until we care
1 parent f7d9e49 commit 6eeffb1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/doc/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,7 @@ def generate_idnits2_rfc_status():
11101110
'unkn': 'U',
11111111
}
11121112

1113-
rfcs = Document.objects.filter(type_id='rfc',states__slug='published',states__type='rfc')
1113+
rfcs = Document.objects.filter(type_id='rfc')
11141114
for rfc in rfcs:
11151115
offset = int(rfc.rfc_number)-1
11161116
blob[offset] = symbols[rfc.std_level_id]

ietf/doc/views_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ def shorten_group_name(name):
409409

410410
def ad_dashboard_sort_key(doc):
411411

412-
if doc.type.slug=='rfc' and doc.get_state_slug('rfc') == 'published':
412+
if doc.type.slug=='rfc':
413413
return "21%04d" % int(doc.rfc_number)
414414
if doc.type.slug=='statchg' and doc.get_state_slug('statchg') == 'appr-sent':
415415
return "22%d" % 0 # TODO - get the date of the transition into this state here

0 commit comments

Comments
 (0)