mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-58884 core_competency: add exporter required course fields
This commit is contained in:
parent
1f36a0796f
commit
b991325da2
@ -243,7 +243,9 @@ class course_competency extends persistent {
|
||||
public static function list_courses($competencyid) {
|
||||
global $DB;
|
||||
|
||||
$results = $DB->get_records_sql('SELECT course.id, course.visible, course.shortname, course.idnumber, course.fullname
|
||||
$results = $DB->get_records_sql('SELECT course.id, course.visible, course.shortname, course.idnumber,
|
||||
course.fullname, course.summary, course.summaryformat, course.startdate,
|
||||
course.enddate
|
||||
FROM {course} course
|
||||
JOIN {' . self::TABLE . '} coursecomp
|
||||
ON coursecomp.courseid = course.id
|
||||
|
Loading…
x
Reference in New Issue
Block a user