Skip to content
Snippets Groups Projects
Commit b516f864 authored by Alexander Bias's avatar Alexander Bias
Browse files

Check compatibility for Moodle 2.8, no functionality change

parent a52ce779
No related branches found
No related tags found
No related merge requests found
......@@ -5,11 +5,12 @@ Moodle block which provides all functionality of block_course_overview, provides
Requirements
------------
This plugin requires Moodle 2.7+
This plugin requires Moodle 2.8+
Changes
-------
* 2014-01-29 - Check compatibility for Moodle 2.8, no functionality change
* 2014-10-20 - Bugfix: There were problems with the term filter and courses which start on the term start day and / or term starting on january 1st
* 2014-10-20 - Add multilanguage support to noteachertext string
* 2014-08-29 - Update README file
......
......@@ -436,7 +436,7 @@ class block_course_overview_campus extends block_base {
if ($coc_config->teachercoursefilter == true || $coc_config->secondrowshowteachername == true) {
// Get course teachers based on global teacher roles
if (count($teacherroles) > 0) {
$courseteachers = get_role_users($teacherroles, $context, true);
$courseteachers = get_role_users($teacherroles, $context, true, 'ra.id, u.lastname, u.firstname, r.sortorder', 'u.lastname, u.firstname');
}
else {
$courseteachers = array();
......
......@@ -26,7 +26,7 @@
defined('MOODLE_INTERNAL') || die();
$plugin->component = 'block_course_overview_campus';
$plugin->version = 2014051207;
$plugin->release = '2.7 (Build: 2014102000)';
$plugin->requires = 2014051200;
$plugin->version = 2014111000;
$plugin->release = '2.8 (Build: 2015012900)';
$plugin->requires = 2014111000;
$plugin->maturity = MATURITY_STABLE;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment