Update Saqel Platform: 2026-09-02 08:55:31
This commit is contained in:
@@ -109,7 +109,7 @@ class TeacherController
|
||||
|
||||
// Total Unique Active Students
|
||||
$studentsCount = (int)Database::selectOne(
|
||||
"SELECT COUNT(DISTINCT lp.user_id) as total FROM lesson_progress lp
|
||||
"SELECT COUNT(DISTINCT lp.student_id) as total FROM lesson_progress lp
|
||||
JOIN lessons l ON lp.lesson_id = l.id
|
||||
JOIN courses c ON l.course_id = c.id
|
||||
WHERE c.teacher_id = ?",
|
||||
|
||||
Reference in New Issue
Block a user