ndunand / moodle-mod_choicegroup

Moodle "Group Choice" plugin
https://moodle.org/plugins/mod_choicegroup
34 stars 57 forks source link

Shows my first activity answer to every activities in this list #176

Closed simpasami closed 7 months ago

simpasami commented 1 year ago

2022-11-02 15_53_58-Group choices

mhughes2k commented 1 year ago

I can confirm this issue on under Moodle 3.11.11, plugin version 2021083100

simpasami commented 1 year ago

our is Moodle 3.9.18, plugin version is 2022092201

NicoAlexH commented 7 months ago

Hello @simpasami, @mhughes2k,

Thanks for reporting ! I am afraid this behavior occurs by design, the plugin was designed in a way that does not store a user's answer to a specific choicegroup activity ; we can only determine this user's groups membership. Therefore if there are multiple choicegroup activities in a course, the "answer" column will always be filled with every group the user belongs to, not the answer they have selected in the listed activities.

It would require quite a bit of work to change this behavior and we cannot afford it at the moment, but if you feel like implementing this feature, we would be happy to review and integrate it !

Have a nice day, Nicolas