Index: openacs-4/packages/assessment/www/asm-admin/questions.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/asm-admin/questions.xql,v diff -u -r1.1.2.2 -r1.1.2.3 --- openacs-4/packages/assessment/www/asm-admin/questions.xql 24 Jan 2007 22:13:39 -0000 1.1.2.2 +++ openacs-4/packages/assessment/www/asm-admin/questions.xql 6 Feb 2007 22:18:08 -0000 1.1.2.3 @@ -8,7 +8,7 @@ from as_sections s, cr_revisions cr, cr_items ci, as_assessment_section_map asm where cr.revision_id = s.section_id and s.section_id = asm.section_id - and cr.revision_id = ci.latest_revision + and cr.item_id = ci.item_id and asm.assessment_id = :assessment_rev_id order by asm.sort_order, s.section_id -- select s.section_id, cr.title