mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-59368 groups: Add behat for new group edit
This commit is contained in:
parent
090d064dda
commit
76c493b3f2
7 changed files with 27 additions and 11 deletions
|
@ -264,7 +264,7 @@ function groups_get_all_groups($courseid, $userid=0, $groupingid=0, $fields='g.*
|
|||
}
|
||||
|
||||
if ($withmembers) {
|
||||
$memberselect = 'ugm.id AS ugmid, ugm.userid, ';
|
||||
$memberselect = $DB->sql_concat("COALESCE(ugm.userid, ugm.userid, 'NULL')", "':'", 'g.id') . ' AS ugmid, ugm.userid, ';
|
||||
$memberjoin = ' LEFT JOIN {groups_members} ugm ON ugm.groupid = g.id ';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue