Update of /cvsroot/aimmath/moodle/mod/math_assignment
In directory sc8-pr-cvs1:/tmp/cvs-serv5295/mod/math_assignment
Modified Files:
lib.php
Log Message:
Solved the problem of the unwanted question reordering when changing assessment. Solution involves calling AiM with extra parameter "KeepQuestionOrder" = "true"
Index: lib.php
===================================================================
RCS file: /cvsroot/aimmath/moodle/mod/math_assignment/lib.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** lib.php 25 Sep 2003 17:15:41 -0000 1.21
--- lib.php 25 Sep 2003 19:29:10 -0000 1.22
***************
*** 493,496 ****
--- 493,497 ----
$postdata = math_assignment_add_arg_to_url_data($postdata, "Command", "admin/Quiz");
$postdata = math_assignment_add_arg_to_url_data($postdata, "Action", "SaveQuizOptions");
+ $postdata = math_assignment_add_arg_to_url_data($postdata, "KeepQuestionOrder", "true");
$postdata = math_assignment_add_arg_to_url_data($postdata, "SubjectName", $subject->name);
$postdata = math_assignment_add_arg_to_url_data($postdata, "QuizName", $math_assignment->aimquiz);
|