Skip to content

Commit

Permalink
Merge branch 'dev' into updated_reports
Browse files Browse the repository at this point in the history
  • Loading branch information
ishvindersethi22 authored Sep 23, 2024
2 parents 6677f9b + 36ae80b commit 1adae0c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions backend/organizations/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (
Expand Down
9 changes: 7 additions & 2 deletions backend/workspaces/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (
Expand Down

0 comments on commit 1adae0c

Please sign in to comment.