We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f46de12 commit 17c60fcCopy full SHA for 17c60fc
app/api/views.py
@@ -81,7 +81,7 @@ def progress(self, project):
81
annotation_class = project.get_annotation_class()
82
total = docs.count()
83
done = annotation_class.objects.filter(document_id__in=docs.all(),
84
- user_id=self.request.user).\
+ user_id=self.request.user).\
85
aggregate(Count('document', distinct=True))['document__count']
86
remaining = total - done
87
return {'total': total, 'remaining': remaining}
0 commit comments