Index: openacs-4/packages/assessment/tcl/as-item-data-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/tcl/as-item-data-procs.xql,v diff -u -r1.8 -r1.9 --- openacs-4/packages/assessment/tcl/as-item-data-procs.xql 15 May 2007 20:14:16 -0000 1.8 +++ openacs-4/packages/assessment/tcl/as-item-data-procs.xql 15 Sep 2008 16:25:07 -0000 1.9 @@ -48,6 +48,7 @@ from as_item_data d, cr_revisions r, cr_revisions r2 where d.subject_id = :subject_id and d.as_item_id = r.revision_id + and d.section_id = :section_id and r2.revision_id = :as_item_id and r.item_id = r2.item_id order by d.session_id desc