]> git.mjollnir.org Git - moodle.git/commit
MDL-12418 "Item Analysis shows duplicate responses for Multiple Choice questions...
authorjamiesensei <jamiesensei>
Fri, 28 Nov 2008 10:14:19 +0000 (10:14 +0000)
committerjamiesensei <jamiesensei>
Fri, 28 Nov 2008 10:14:19 +0000 (10:14 +0000)
commit2280e147c56230ea221f60921ae54bfe81283caa
tree5a535458b1f5bc645877cf83eadfddc90121b17c
parentd54e2145ba094b18d99ee7868c8f7eecf5b989ac
MDL-12418 "Item Analysis shows duplicate responses for Multiple Choice questions with LaTeX in answers" This problem was caused by the formatting of questions in get_actual_responses. Now formatting is done in response_summary rather than get_actual_response which returns an array of unformatted strings.

Have fixed the formatting in responses report and in statistics report to use the correct formatting for the question type.

Created new functions format_responses and format_response. format_responses works on an array and normally just walks through the array calling format_response.
mod/quiz/report/responses/responses_table.php
mod/quiz/report/statistics/report.php
mod/quiz/report/statistics/statistics_question_table.php
question/type/calculated/questiontype.php
question/type/essay/questiontype.php
question/type/match/questiontype.php
question/type/multianswer/questiontype.php
question/type/multichoice/questiontype.php
question/type/questiontype.php
question/type/truefalse/questiontype.php