MDL-38412 fix quiz reports group mode weirdness.
commitd1fa204c0fe1d4f72f3daba806d4257509d0232c
authorTim Hunt <T.J.Hunt@open.ac.uk>
Fri, 15 Mar 2013 11:58:06 +0000 (15 11:58 +0000)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Fri, 15 Mar 2013 12:02:11 +0000 (15 12:02 +0000)
tree85380cc8f5feb89a23e20657492201738dc54f6f
parent01d6191b8152d34f9cd6e66864727cd55e53de6b
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.
mod/quiz/report/attemptsreport_options.php
mod/quiz/report/overview/report.php
mod/quiz/report/responses/report.php