Details
Description
Overview
========
When there are quiz attempts, the 'Item Analysis' table in the 'Results' Tab displays the detailed analysis of attempted questions & solutions. When a question number is clicked, instead of opening an editing question page, an error page gets opened.
Steps to Reproduce
================
1. Login to moodle 1.9.x+ (I was using build 20080708)
2. Login as an Instructor
3. Create a quiz that has multiple quiz attempts
4. Go to 'Results' tab
5. Select sub-tab 'Item Analysis'
6. The item analysis table will get display
7. Go the first column of the table and click any question number
8. A new window should pop-up saying: Need to pass courseid or cmid to this script." followed by a 'Continue' button. (see screenshot)
Hi Tim could you maybe take a quick look at this when you get a chance? Shouldn't be hard to fix it I think, just that when /mod/quiz/report.php is generating the Q# column, somehow the link that it generated (link to /question/question.php?id=xx) does not include courseid or cmid. If you don't have time to fix this please assign this to me. Thanks!