Skip to content

Commit 5d26af8

Browse files
committed
Merged in [18587] from rcross@amsl.com:
Fix section 5 of secretariat progress report. Fixes ietf-tools#3063. - Legacy-Id: 18594 Note: SVN reference [18587] has been migrated to Git commit c2a0bd6
1 parent c02752d commit 5d26af8

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

ietf/secr/proceedings/proc_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ def get_progress_stats(sdate,edate):
217217
data['last_calls_count'] = events.filter(type='sent_last_call').count()
218218
new_draft_events = events.filter(newrevisiondocevent__rev='00')
219219
new_drafts = list(set([ e.doc_id for e in new_draft_events ]))
220+
data['new_docs'] = list(set([ e.doc for e in new_draft_events ]))
220221
data['new_drafts_count'] = len(new_drafts)
221222
data['new_drafts_updated_count'] = events.filter(doc__id__in=new_drafts,newrevisiondocevent__rev='01').count()
222223
data['new_drafts_updated_more_count'] = events.filter(doc__id__in=new_drafts,newrevisiondocevent__rev='02').count()

ietf/secr/templates/proceedings/report_progress_report.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
{{ group }} ({{ group.acronym }})
2424
{% endfor %}
2525

26-
5) {{ new_docs.count }} new or revised Internet-Drafts this period
26+
5) {{ new_docs|length }} new or revised Internet-Drafts this period
2727

2828
(o - Revised Internet-Draft; + - New Internet-Draft)
2929

@@ -45,4 +45,4 @@
4545
{{ event.doc.canonical_name|upper }} {{ event.doc.intended_std_level.name|abbr_status|stringformat:"2s" }} ({{ event.doc.group.acronym|stringformat:"8s" }}) {{ event.time|date:"M d" }} {{ event.doc.title }}
4646
{% endfor %}
4747

48-
{{ counts.std }} Standards Track; {{ counts.bcp }} BCP; {{ counts.exp }} Experimental; {{ counts.inf }} Informational
48+
{{ counts.std }} Standards Track; {{ counts.bcp }} BCP; {{ counts.exp }} Experimental; {{ counts.inf }} Informational

0 commit comments

Comments
 (0)