Skip to content

Commit 3e6a1cf

Browse files
committed
Limited the data for 'New draft revisions over time' on the personal profile page to type='draft'.
- Legacy-Id: 17720
1 parent 8c36cfb commit 3e6a1cf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ietf/doc/views_stats.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ def chart_data_person_drafts(request, id):
174174
if not person:
175175
data = []
176176
else:
177-
data = model_to_timeline_data(DocEvent, doc__documentauthor__person=person, type='new_revision')
177+
data = model_to_timeline_data(DocEvent, doc__documentauthor__person=person, type='new_revision', doc__type_id='draft')
178+
debug.show('len(data)')
178179
return JsonResponse(data, safe=False)
179180

180181

0 commit comments

Comments
 (0)