MDL-20264 work in progress on grading evaluation support

Also fixes small bugs in workshop api constructor and in using "scales"
instead of "scale" for the core table name.
This commit is contained in:
David Mudrak
2010-01-04 18:12:12 +00:00
parent 89c1aa977b
commit 8a1ba8ac04
9 changed files with 170 additions and 25 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ case workshop::PHASE_EVALUATION:
$page = optional_param($pagingvar, 0, PARAM_INT);
$perpage = 10; // todo let the user modify this
$groups = ''; // todo let the user choose the group
$sortby = 'submissiongrade'; // todo let the user choose the column to sort by
$sortby = 'assessmentgrade'; // todo let the user choose the column to sort by
$sorthow = 'DESC'; // todo detto
$data = $workshop->prepare_grading_report($USER->id, $groups, $page, $perpage, $sortby, $sorthow);