There was an error while loading. Please reload this page.
1 parent 78f83a4 commit 09a1a8eCopy full SHA for 09a1a8e
1 file changed
app/Assignment.php
@@ -492,6 +492,7 @@ public function getAssignmentsByCourse(Course $course,
492
$user_ids = $course->enrolledUsers->pluck('id')->toArray();
493
$need_to_grades = SubmissionFile::selectRaw('assignment_id, COUNT(*) as count')
494
->whereNull('score')
495
+ ->where('type','<>','no upload')
496
->whereNotNull('question_id')
497
->whereIn('user_id', $user_ids)
498
->groupBy('assignment_id')
0 commit comments