Skip to content

Commit

Permalink
Merge pull request #10998 from Vitaliy-1/i10970_all_assignments
Browse files Browse the repository at this point in the history
#10970 show completed reviews in all assignments
  • Loading branch information
Vitaliy-1 authored Feb 27, 2025
2 parents ba8ef58 + 4950d01 commit 67d3087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/submission/reviewAssignment/Collector.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ public function getQueryBuilder(): Builder
$q->when(
$this->actionRequiredByReviewer || $this->isActive,
fn (Builder $q) => $q
->whereNull('ra.date_completed')
->where('ra.declined', '<>', 1)
->where('ra.cancelled', '<>', 1)
->whereIn(
Expand All @@ -342,6 +341,7 @@ public function getQueryBuilder(): Builder
$this->actionRequiredByReviewer,
fn (Builder $q) => $q
->whereColumn('s.stage_id', 'ra.stage_id')
->whereNull('ra.date_completed')
)
->when(
$this->isActive,
Expand Down

0 comments on commit 67d3087

Please sign in to comment.