Index: openacs-4/packages/assessment/tcl/as-item-form-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/tcl/as-item-form-procs.xql,v diff -u -r1.5 -r1.6 --- openacs-4/packages/assessment/tcl/as-item-form-procs.xql 29 Dec 2004 10:19:07 -0000 1.5 +++ openacs-4/packages/assessment/tcl/as-item-form-procs.xql 7 Jan 2005 16:10:44 -0000 1.6 @@ -3,7 +3,7 @@ - select cr.title, i.subtext, i.data_type, i.required_p, + select cr.title, i.subtext, i.data_type, max(oi.object_id) as item_type_id, oi.object_type as item_type, od.object_id as display_type_id, od.object_type as display_type from as_items i, cr_revisions cr, as_item_rels it, @@ -16,7 +16,7 @@ and dt.rel_type = 'as_item_display_rel' and oi.object_id = it.target_rev_id and od.object_id = dt.target_rev_id - group by cr.title, i.subtext, i.data_type, i.required_p, oi.object_type,od.object_id, od.object_type + group by cr.title, i.subtext, i.data_type, oi.object_type,od.object_id, od.object_type