apluslms / a-plus

A+ frontend portal - A+ LMS documentation:
https://apluslms.github.io/
Other
65 stars 72 forks source link

Fix issue with querying user submissions that could cause some submissions to be hidden #1329

Closed murhum1 closed 7 months ago

murhum1 commented 7 months ago

Description

Fixed an issue where not all user submissions would be shown for an exercise when the user had made submissions to another exercise in between. This was caused by unsorted data provided for the groupby function on the subsequent line - it requires data to be sorted by the key that's used for grouping.

Testing

Ran manual tests at minus.cs to verify that all user submissions are now shown.