catalyst / moodle-block_dedication

This is a block / report that allows the time-spent by course participants to be estimated and displayed.
https://moodle.org/plugins/block_dedication
GNU General Public License v3.0
7 stars 10 forks source link

Duplicated users in report when user is enrolled at the same time with different enrollment plugins #84

Open marcoblancas opened 1 year ago

marcoblancas commented 1 year ago

The report "Time spent in course" list duplicated users when they are enrolled with different plugins at the same time in the course.

2023-09-01_16-26

We use block_dedication 2023070300 and Moodle 4.2.2

danmarsden commented 1 year ago

I vaguely remember this being an issue with the core enrolment users report source (which we copy for providing support to older Moodle versions) and the fact that system-level reports can't use the same settings as a normal custom report (like not showing duplicates) - but it's been a while since I've looked at this!

If you have internal development capabilities, pull requests are always welcome! :-)