Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Correct student list query to ensure all students appear #302

Merged
merged 2 commits into from
Dec 10, 2020

Conversation

macite
Copy link
Member

@macite macite commented Dec 10, 2020

This fixes an issue where students could disappear from Doubtfire if they only had tasks for task definitions higher than their target grade.

Existing query lost students if they only had one task that was for a higher grade than their target grade.
Introducing a subquery means that all students are returned.
No need to include all projects in the sub query, therefore no need to left join.
@macite macite merged commit d401e68 into doubtfire-lms:development Dec 10, 2020
@macite macite deleted the fix/missing-students branch February 28, 2023 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant