Index: openacs-4/packages/assessment/www/admin/item-edit.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/admin/Attic/item-edit.xql,v diff -u -r1.1 -r1.2 --- openacs-4/packages/assessment/www/admin/item-edit.xql 8 Dec 2004 15:30:34 -0000 1.1 +++ openacs-4/packages/assessment/www/admin/item-edit.xql 10 Dec 2004 11:42:23 -0000 1.2 @@ -4,10 +4,11 @@ - select r.title, r.description, i.subtext, i.field_code, i.definition, i.required_p, - i.feedback_right, i.feedback_wrong, i.max_time_to_complete, i.data_type - from cr_revisions r, as_items i - where r.revision_id = i.as_item_id + select ci.name, r.title, r.description, i.subtext, i.field_code, i.required_p, + i.feedback_right, i.feedback_wrong, i.max_time_to_complete, i.data_type, i.points + from cr_items ci, cr_revisions r, as_items i + where ci.item_id = r.item_id + and r.revision_id = i.as_item_id and i.as_item_id = :as_item_id