Index: openacs-4/packages/assessment/tcl/as-item-procs.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/tcl/as-item-procs.xql,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/assessment/tcl/as-item-procs.xql 10 Dec 2004 11:42:23 -0000 1.2
+++ openacs-4/packages/assessment/tcl/as-item-procs.xql 14 Jan 2005 13:13:37 -0000 1.3
@@ -24,6 +24,19 @@
+
+
+
+ select m.as_item_id
+ from as_item_section_map m, cr_revisions r, cr_revisions i
+ where m.section_id = :section_id
+ and m.as_item_id = r.revision_id
+ and i.revision_id = :as_item_id
+ and i.item_id = r.item_id
+
+
+
+