Skip to content

Fix total courses progress calculation in mystudent.php #6499

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

Conversation

yverhenne
Copy link

Currently on the page mystudent.php, the calculation of the total progression in a session is based on the number of courses contained in this session with the formula: (total progressions/total number of courses in the session)x100. However, when a user is unenrolled from a course in the session using /main/session/session_course_user_list.php, the formula does not change, whereas the calculation should be made based on the number of courses the user is enrolled in this session with the formula: (total progressions/total number of courses where the user is enrolled in this session)x100.

@NicoDucou NicoDucou merged commit 0907f72 into chamilo:1.11.x Jul 29, 2025
2 checks passed
@NicoDucou
Copy link
Member

Well spoted. All good just adapted the commit message.

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.

2 participants