Skip to content
Snippets Groups Projects
Commit 42fbf502 authored by Thorben Laprell's avatar Thorben Laprell
Browse files

backup_for_work

parent 4cc5bfc4
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ SQL;
$query = <<<SQL
SELECT
co.id,
co.{$groupbychoice},
co.fullname,
co.startdate,
CASE
......@@ -100,6 +100,8 @@ SQL;
AND e2.courseid <> e.courseid
JOIN {course} co
ON co.id = e2.courseid
JOIN {course} co2
ON co2.{$groupbychoice} = co.{$groupbychoice}
-- only people enroled as students into the course
JOIN {context} c
ON c.instanceid = e.courseid
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment