chore: sort top courses by completion and spacing fixes #531
This commit is contained in:
@@ -72,6 +72,7 @@ SELECT
|
||||
AND lc.profile_id = gm.profile_id
|
||||
WHERE c.status = 'ACTIVE' AND g.organization_id = org_id_arg
|
||||
GROUP BY c.id, c.title
|
||||
ORDER BY completed_lessons DESC
|
||||
) as course_stats
|
||||
LIMIT 5;
|
||||
END;
|
||||
|
||||
Reference in New Issue
Block a user