We make use of this plugin at our institution and we have noticed that the Default Group setting does not work as expected. We would expect that if a Default Group is set, it should filter the students displayed in the block for the teacher - but this does not appear to be what happens.
Steps to reproduce:
- Create a checklist activity and add some tasks
- Create two groups and enrol some students into the groups
- Complete some tasks as a couple of students
- Add the checklist block and configure it as follows:
- Checklist overview: No
- Choose checklist: Select the checklist created in first step
- Default Group: Select a group
- Confirm that all students are displayed in the block on the course page, rather than just the students from the selected default group.
We are assuming this is not the intended behaviour. Not sure what the fix could be, although I have noticed that if the $allowedgroups variable is set up appropriately and passed to get_selected_group with this call https://github.com/davosmith/moodle-block_checklist/blob/master/block_checklist.php#L176, the filtering behaviour works as we would expect it to.
We make use of this plugin at our institution and we have noticed that the Default Group setting does not work as expected. We would expect that if a Default Group is set, it should filter the students displayed in the block for the teacher - but this does not appear to be what happens.
Steps to reproduce:
We are assuming this is not the intended behaviour. Not sure what the fix could be, although I have noticed that if the
$allowedgroupsvariable is set up appropriately and passed toget_selected_groupwith this call https://github.com/davosmith/moodle-block_checklist/blob/master/block_checklist.php#L176, the filtering behaviour works as we would expect it to.