MDL-59366 core_user: Disable sorting for roles and groups columns
[moodle.git] / user / classes / participants_table.php
index 2bc24c6..aa8e2f9 100644 (file)
@@ -204,6 +204,8 @@ class participants_table extends \table_sql {
         $this->sortable(true, 'firstname');
 
         $this->no_sorting('select');
+        $this->no_sorting('roles');
+        $this->no_sorting('groups');
 
         $this->set_attribute('id', 'participants');