Limited the data for 'New draft revisions over time' on the personal profile page to type='draft'.
- Legacy-Id: 17720
This commit is contained in:
parent
8c36cfbb66
commit
3e6a1cfb11
|
@ -174,7 +174,8 @@ def chart_data_person_drafts(request, id):
|
|||
if not person:
|
||||
data = []
|
||||
else:
|
||||
data = model_to_timeline_data(DocEvent, doc__documentauthor__person=person, type='new_revision')
|
||||
data = model_to_timeline_data(DocEvent, doc__documentauthor__person=person, type='new_revision', doc__type_id='draft')
|
||||
debug.show('len(data)')
|
||||
return JsonResponse(data, safe=False)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue