Skip to content

48208 - Test question list no longer shows the total points of the question set - #12030

Closed
lorenzgith wants to merge 1 commit into
ILIAS-eLearning:release_10from
lorenzgith:fix/48208-total-points-questions-list
Closed

48208 - Test question list no longer shows the total points of the question set#12030
lorenzgith wants to merge 1 commit into
ILIAS-eLearning:release_10from
lorenzgith:fix/48208-total-points-questions-list

Conversation

@lorenzgith

Copy link
Copy Markdown
Contributor

https://mantis.ilias.de/view.php?id=48208

In ILIAS 9 the questions list of a test showed the total points of the fixed question set in the header of the Points column. ilTestQuestionsTableGUI kept the sum and appended it to the column title. After the migration to the new UI table framework the total is no longer displayed anywhere in the list view; it only survives in the print view (Printer.php).

That makes editing a test harder than before, because the achievable total is exactly the number an author needs while adding, removing or re-weighting questions.

The summation logic still exists and is unchanged (ilObjTest::getFixedQuestionSetTotalPoints()), it is simply no longer called. This uses it again when building the column header, limited to fixed question sets since the sum is not meaningful for random tests.

The number is labelled with the existing language variable total, so the header reads Points (Total: 42) rather than showing a bare number in parentheses as ILIAS 9 did. Since the label is part of the column header text, it is announced by screen readers as well.

@kergomard

Copy link
Copy Markdown
Contributor

Thank you very much for the PR @lorenzgith !

I will close this though and continue in this PR as there is more "meat" there.

Thanks again and best,
@kergomard

@kergomard kergomard closed this Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants