Index: openacs-4/packages/xowf/lib/inclass-exam.wf =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowf/lib/inclass-exam.wf,v diff -u -r1.1.2.90 -r1.1.2.91 --- openacs-4/packages/xowf/lib/inclass-exam.wf 31 Jan 2022 13:36:52 -0000 1.1.2.90 +++ openacs-4/packages/xowf/lib/inclass-exam.wf 31 Jan 2022 15:25:59 -0000 1.1.2.91 @@ -560,9 +560,9 @@ set as_student [:query_parameter as_student:boolean false] set d [:AM render_answers \ -as_student $as_student \ - -filter_id [:query_parameter id:int32 ""] \ -creation_user [:query_parameter creation_user:int32 ""] \ -revision_id [:query_parameter rid:int32 ""] \ + -filter_submission_id [:query_parameter id:int32 ""] \ -filter_form_ids [:query_parameter fos:int32 ""] \ -export [:query_parameter export:boolean 0] \ -orderby [:query_parameter orderby:token "online-exam-userName"] \ Index: openacs-4/packages/xowf/lib/online-exam.wf =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowf/lib/online-exam.wf,v diff -u -r1.6.2.28 -r1.6.2.29 --- openacs-4/packages/xowf/lib/online-exam.wf 9 Jan 2022 20:46:52 -0000 1.6.2.28 +++ openacs-4/packages/xowf/lib/online-exam.wf 31 Jan 2022 15:25:59 -0000 1.6.2.29 @@ -325,7 +325,7 @@ ? [dict get ${:instance_attributes} signature] : 0 }] set examTitle ${:title} - set filter_id [[$wf package_id] query_parameter id:integer ""] + set filter_submission_id [[$wf package_id] query_parameter id:integer ""] foreach i [$items children] { $i set online-exam-userName [acs_user::get_element -user_id [$i creation_user] -element username] @@ -340,7 +340,7 @@ ns_log notice "online-exam: submission of $userName is not finished (state [$i state])" continue } - if {$filter_id ne "" && [$i item_id] ne $filter_id} { + if {$filter_submission_id ne "" && [$i item_id] ne $filter_submission_id} { continue } Index: openacs-4/packages/xowf/tcl/test-item-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowf/tcl/test-item-procs.tcl,v diff -u -r1.7.2.209 -r1.7.2.210 --- openacs-4/packages/xowf/tcl/test-item-procs.tcl 31 Jan 2022 13:15:42 -0000 1.7.2.209 +++ openacs-4/packages/xowf/tcl/test-item-procs.tcl 31 Jan 2022 15:25:59 -0000 1.7.2.210 @@ -2947,7 +2947,7 @@ #---------------------------------------------------------------------- :method submissions { {-creation_user:integer,0..1 ""} - {-filter_id:integer,0..1 ""} + {-filter_submission_id:integer,0..1 ""} {-revision_id:integer,0..1 ""} {-wf:object} } { @@ -2966,7 +2966,7 @@ } else { set submissions [:get_wf_instances \ {*}[expr {$creation_user ne "" ? "-creation_user $creation_user" : ""}] \ - {*}[expr {$filter_id ne "" ? "-item_id $filter_id" : ""}] \ + {*}[expr {$filter_submission_id ne "" ? "-item_id $filter_submission_id" : ""}] \ $wf] } @@ -3313,7 +3313,7 @@ {-combined_form_info} {-examWf:object} {-exam_question_dict} - {-filter_id:integer,0..1 ""} + {-filter_submission_id:integer,0..1 ""} {-filter_form_ids:integer,0..n ""} {-grading_scheme:object} {-recutil:object,0..1 ""} @@ -3446,7 +3446,7 @@ # If we filter by student and the exam is proctored, display # the procoring images as well. # - if {$filter_id ne "" && [$examWf property proctoring] eq "t"} { + if {$filter_submission_id ne "" && [$examWf property proctoring] eq "t"} { set markup [:render_proctor_images \ -submission $submission \ -revisions $revisions \ @@ -3558,7 +3558,7 @@ #---------------------------------------------------------------------- :public method render_answers { {-as_student:boolean false} - {-filter_id:integer,0..1 ""} + {-filter_submission_id:integer,0..1 ""} {-creation_user:integer,0..1 ""} {-revision_id:integer,0..1 ""} {-filter_form_ids:integer,0..n ""} @@ -3603,7 +3603,7 @@ set items [:submissions \ -creation_user $creation_user \ - -filter_id $filter_id \ + -filter_submission_id $filter_submission_id \ -revision_id $revision_id \ -wf $wf] # @@ -3639,7 +3639,7 @@ # Provide the full protocol (or a subset of it) # append HTML "