diff --git a/backend/organizations/views.py b/backend/organizations/views.py index 219e79015..c8ce73c0e 100644 --- a/backend/organizations/views.py +++ b/backend/organizations/views.py @@ -2994,11 +2994,16 @@ def cumulative_tasks_count(self, request, pk=None): else: reviewer_task_count = ( - reviewer_tasks.count() + reviewer_tasks_exported.count() + reviewer_tasks.count() + + reviewer_tasks_exported.count() + + supercheck_tasks_exported.count() ) annotation_tasks_count = ( - annotation_tasks.count() + annotation_tasks_exported.count() + annotation_tasks.count() + + annotation_tasks_exported.count() + + reviewer_tasks_exported.count() + + supercheck_tasks_exported.count() ) supercheck_tasks_count = ( diff --git a/backend/workspaces/views.py b/backend/workspaces/views.py index 5843a91d8..367a0f93f 100644 --- a/backend/workspaces/views.py +++ b/backend/workspaces/views.py @@ -1655,11 +1655,16 @@ def cumulative_tasks_count_all(self, request, pk=None): else: reviewer_task_count = ( - reviewer_tasks.count() + reviewer_tasks_exported.count() + reviewer_tasks.count() + + reviewer_tasks_exported.count() + + supercheck_tasks_exported.count() ) annotation_tasks_count = ( - annotation_tasks.count() + annotation_tasks_exported.count() + annotation_tasks.count() + + annotation_tasks_exported.count() + + reviewer_tasks_exported.count() + + supercheck_tasks_exported.count() ) supercheck_tasks_count = (