Skip to content

Commit

Permalink
#8710 Updated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasraoni committed Aug 25, 2023
1 parent ee59ab4 commit 33d7922
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions classes/submission/Collector.php
Original file line number Diff line number Diff line change
Expand Up @@ -510,13 +510,13 @@ public function getQueryBuilder(): Builder
->whereIn('pc.category_id', $this->categoryIds);
}

// By any child pub object's DOI status
// Filter by any child pub object's DOI status
$q->when($this->doiStatuses !== null, fn (Builder $q) => $this->addDoiStatusFilterToQuery($q));

// By whether any child pub objects have DOIs assigned
// Filter by whether any child pub objects have DOIs assigned
$q->when($this->hasDois !== null, fn (Builder $q) => $this->addHasDoisFilterToQuery($q));

// By whether any child pub objects have DOIs assigned
// Filter out excluded submission IDs
$q->when($this->excludeIds !== null, fn (Builder $q) => $q->whereNotIn('s.submission_id', $this->excludeIds));

// Limit and offset results for pagination
Expand Down

0 comments on commit 33d7922

Please sign in to comment.