[AMOS commit] MDL-81514 groups: Add participationonly option to activity group menu Committed into Git: 2024-05-21 09:48 UTC

[AMOS commit] MDL-81514 groups: Add participationonly option to activity group menu Committed into Git: 2024-05-21 09:48 UTC

by AMOS bot -
Number of replies: 0
Author: Mark Johnson
MDL-81514 groups: Add participationonly option to activity group menu
groups_print_activity_menu() and groups_get_activity_group() now include
an additional $participationonly parameter,
which is true by default. This can be set false when we want the user to
be able to select a non-participation group within
an activity, for example if a teacher wants to filter assignment
submissions by non-participation groups. It should never be
used when the menu is displayed to students, as this may allow them to
participate using non-participation groups.

groups_sort_menu_options() now has a $splitparticipation parameter,
which will split non-participation groups out into their own optgroup at
the end of the menu.


http://git.moodle.org/gw?p=moodle.git;a=commit;h=66328d842835116fd8859b64cad9885bc27590c9
http://github.com/moodle/moodle/commit/66328d842835116fd8859b64cad9885bc27590c9

+ 5.0 en [nonparticipation,core_group]