8 Commits

Author SHA1 Message Date
Tim Hunt
a4768fe290 MDL-38412 fix quiz reports group mode weirdness.
Moodle currently selected group uses the session. This can cause weird
effects when you have two tabs open. This is particularly weird in the
quiz reports, where some actions like delete attempt are checked against
the currently selected group.

The solution is to put the currently selected group into the URL for all
actions like delete/regrade attempt, regrade all attempts, download and
sort table.
2013-03-15 11:58:06 +00:00
Tim Hunt
fff85efe4b MDL-34054 quiz reports: missing context.
quiz_report_should_show_grades needs to know the context, so pass it
through.
2012-06-29 16:09:20 +01:00
Tim Hunt
863872e3e7 MDL-3030 quiz overdue handling: show the attempt state in the reports. 2012-04-27 15:07:33 +01:00
Tim Hunt
9d58dae33b MDL-32322 quiz reports: fix PHPdoc comments. Thanks Smurf. 2012-04-20 11:34:56 +01:00
Tim Hunt
e97d60adce MDL-32322 quiz reports: pass options object -> table, not separate args. 2012-04-20 10:07:25 +01:00
Tim Hunt
9e67e357eb MDL-32322 quiz_reports: move some more options into the options class. 2012-04-20 10:07:23 +01:00
Tim Hunt
ac4d91575a MDL-32322 quiz reports: name improvement attempt_report -> attempts_report. 2012-04-20 10:07:22 +01:00
Tim Hunt
dcd65f1b4f MDL-32322 quiz reports: extract a mod_quiz_attempt_report_options class.
More clean-ups are possible in the reports after this, but I am committing now, having got the code back to a working state.
2012-04-20 10:07:21 +01:00