Skip to content

Commit 7dbcd74

Browse files
Merge pull request #6323 from christianbeeznest/fide-22659
Assignment: Fix student submission visibility restriction - refs BT#22659
2 parents 6dc61af + 07089dd commit 7dbcd74

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/CourseBundle/Repository/CStudentPublicationRepository.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,9 @@ public function findAssignmentSubmissionsPaginated(
284284
->setParameter('filetype', 'file')
285285
->setParameter('publishedVisibility', 2);
286286

287+
$qb->andWhere('submission.user = :user')
288+
->setParameter('user', $user);
289+
287290
foreach ($order as $field => $direction) {
288291
$qb->addOrderBy('submission.' . $field, $direction);
289292
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy