fix: become agnostic about RFC states until we care
This commit is contained in:
parent
f7d9e49731
commit
6eeffb116f
|
@ -1110,7 +1110,7 @@ def generate_idnits2_rfc_status():
|
|||
'unkn': 'U',
|
||||
}
|
||||
|
||||
rfcs = Document.objects.filter(type_id='rfc',states__slug='published',states__type='rfc')
|
||||
rfcs = Document.objects.filter(type_id='rfc')
|
||||
for rfc in rfcs:
|
||||
offset = int(rfc.rfc_number)-1
|
||||
blob[offset] = symbols[rfc.std_level_id]
|
||||
|
|
|
@ -409,7 +409,7 @@ def shorten_group_name(name):
|
|||
|
||||
def ad_dashboard_sort_key(doc):
|
||||
|
||||
if doc.type.slug=='rfc' and doc.get_state_slug('rfc') == 'published':
|
||||
if doc.type.slug=='rfc':
|
||||
return "21%04d" % int(doc.rfc_number)
|
||||
if doc.type.slug=='statchg' and doc.get_state_slug('statchg') == 'appr-sent':
|
||||
return "22%d" % 0 # TODO - get the date of the transition into this state here
|
||||
|
|
Loading…
Reference in a new issue