Index: openacs-4/packages/assessment/tcl/as-qti-procs.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/tcl/as-qti-procs.xql,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/assessment/tcl/as-qti-procs.xql 22 Feb 2005 15:20:00 -0000 1.5
+++ openacs-4/packages/assessment/tcl/as-qti-procs.xql 12 Jun 2006 02:49:50 -0000 1.6
@@ -4,14 +4,14 @@
INSERT INTO as_assessment_section_map (assessment_id, section_id, max_time_to_complete, sort_order, points)
- VALUES (:as_assessments__assessment_id, :section_id, :as_sections__duration, :as_assessment_section_map__sort_order, :as_sections__points)
+ VALUES (:as_assessments__assessment_id, :section_id, :as_sections__duration, :as_asmt_sect_map__sort_order, :as_sections__points)
- INSERT INTO as_item_section_map (as_item_id, section_id, sort_order, points, max_time_to_complete)
- VALUES (:as_item_id, :section_id, :as_item_section_map__sort_order, :as_item__points, :as_item__duration)
+ INSERT INTO as_item_section_map (as_item_id, section_id, sort_order, points, max_time_to_complete, required_p)
+ VALUES (:as_item_id, :section_id, :as_item_sect_map__sort_order, :as_item__points, :as_item__duration, :as_item__required_p)
@@ -31,4 +31,17 @@
+
+
+
+ update as_item_section_map
+ set as_item_id = :new_item_id,
+ points = :points,
+ required_p = :required_p
+ where section_id = :new_section_id
+ and as_item_id = :as_item_id
+
+
+
+