Add accompanying period work evaluation documents to the list of documents for person

This commit is contained in:
2023-05-31 12:23:34 +02:00
parent 2b57807565
commit cb718a80de
2 changed files with 99 additions and 39 deletions

View File

@@ -99,7 +99,7 @@ final readonly class AccompanyingCourseDocumentGenericDocProvider implements Gen
return $query;
}
$query->addWhereClause(implode(' OR ', $or), $orParams, $orTypes);
$query->addWhereClause('(' . implode(' OR ', $or) . ')', $orParams, $orTypes);
return $this->addWhereClause($query, $startDate, $endDate, $content);
}