Index: openacs-4/packages/imsld/tcl/imsld-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/imsld/tcl/imsld-procs.xql,v diff -u -r1.12 -r1.13 --- openacs-4/packages/imsld/tcl/imsld-procs.xql 13 Mar 2006 17:43:59 -0000 1.12 +++ openacs-4/packages/imsld/tcl/imsld-procs.xql 17 Mar 2006 15:02:04 -0000 1.13 @@ -1724,6 +1724,7 @@ then content_item__get_live_revision(activity_structure_id) else content_item__get_live_revision(environment_id) end as activity_id, + coalesce(learning_activity_id,support_activity_id,activity_structure_id) as activity_item_id, environment_id as rp_environment_item_id from imsld_role_parts where role_part_id = :role_part_id