bdecentgmbh / moodle-block_dash

The interface and report builder for moodle
https://bdecent.de/dash
6 stars 4 forks source link

users data source – groups... #62

Closed stefanscholz closed 4 years ago

stefanscholz commented 4 years ago

I just saw that now also in the users data source, there are multiple rows for each user, one for each group. I did not realize that your question apparently also applied to the users data source.

while it is perfectly fine for the completion data source (because users will usually only have one group per course) to have multiple entries, it really does not make sense for the users data source.

can you change the behavior of the users data source?

i am sorry for my misinterpretation! :(

moodledev commented 4 years ago

I opted for "ideally, it would be only one row if the group field is not shown, and several rows when the group field is not shown."

When a group field is not enabled the data source will group by user.

stefanscholz commented 4 years ago

Perfect, thanks!