Merge branch 'MDL-87229-main' of https://github.com/lucaboesch/moodle

This commit is contained in:
Huong Nguyen
2026-01-16 15:14:30 +08:00
committed by Jake Dallimore
+2 -2
View File
@@ -368,7 +368,7 @@ class course_enrolment_table extends html_table implements renderable {
$this->sort = optional_param(self::SORTVAR, self::DEFAULTSORT, PARAM_ALPHANUM);
$this->sortdirection = optional_param(self::SORTDIRECTIONVAR, self::DEFAULTSORTDIRECTION, PARAM_ALPHA);
$this->attributes = array('class' => 'userenrolment table-striped');
$this->attributes = ['class' => 'userenrolment table table-striped table-hover generaltable'];
if (!in_array($this->sort, self::$sortablefields)) {
$this->sort = self::DEFAULTSORT;
}
@@ -654,7 +654,7 @@ class course_enrolment_other_users_table extends course_enrolment_table {
*/
public function __construct(course_enrolment_manager $manager) {
parent::__construct($manager);
$this->attributes = array('class'=>'userenrolment otheruserenrolment');
$this->attributes['class'] .= ' otheruserenrolment';
}
/**