Browse Source

Remove spurious change

pull/333/head
Clemens Wolff 5 years ago
committed by margaretmeehan
parent
commit
17c60fc728
1 changed files with 1 additions and 1 deletions
  1. 2
      app/api/views.py

2
app/api/views.py

@ -81,7 +81,7 @@ class StatisticsAPI(APIView):
annotation_class = project.get_annotation_class()
total = docs.count()
done = annotation_class.objects.filter(document_id__in=docs.all(),
user_id=self.request.user).\
user_id=self.request.user).\
aggregate(Count('document', distinct=True))['document__count']
remaining = total - done
return {'total': total, 'remaining': remaining}

Loading…
Cancel
Save