mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 04:52:36 +02:00
MDL-11072 sort groupings alphabetically; merged from MOODLE_19_STABLE
This commit is contained in:
parent
3309cb829f
commit
325c194a6f
@ -40,7 +40,7 @@ require('tabs.php');
|
||||
print_heading($strgroupings);
|
||||
|
||||
$data = array();
|
||||
if ($groupings = get_records('groupings', 'courseid', $course->id)) {
|
||||
if ($groupings = get_records('groupings', 'courseid', $course->id, 'name')) {
|
||||
foreach($groupings as $grouping) {
|
||||
$line = array();
|
||||
$line[0] = format_string($grouping->name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user