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

Progress bar mark is not displayed correctly in SingelResults Table #9

Open
ingoj opened this issue Mar 18, 2024 · 1 comment
Open

Comments

@ingoj
Copy link
Contributor

ingoj commented Mar 18, 2024

Progressbar Mark should be derived from LearningObjective required percentage, but queries to the temp. table do not deliver these values. Thus the progressBar mark remains on the right side and colors are decoded wrong (should be red if result < required.

I assume tis is somewhwew in LearnObjectFinalTestStates::getSQL or in a tempTable this function relies on.

@ingoj
Copy link
Contributor Author

ingoj commented Apr 15, 2024

I found out that this behaviour is by design. Progress Bars are only updated, if the final test is random.
Ideally, the Routine should check if the final test is fixed or rndom and calculate the required percentage accordingly.
The queries fpr tis data are located in classes/LearnObjectFinalTests/LearnObjectivesFinalTestQuery.php

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

No branches or pull requests

1 participant