Skip to content

Commit

Permalink
MDL-58884 core_competency: add exporter required course fields
Browse files Browse the repository at this point in the history
  • Loading branch information
lameze committed May 17, 2017
1 parent 1f36a07 commit b991325
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion competency/classes/course_competency.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,9 @@ public static function list_courses_min($competencyid) {
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
Expand Down

0 comments on commit b991325

Please sign in to comment.