Index: openacs-4/packages/courses/tcl/course-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/courses/tcl/course-procs.xql,v diff -u -r1.5 -r1.6 --- openacs-4/packages/courses/tcl/course-procs.xql 8 Feb 2005 23:07:52 -0000 1.5 +++ openacs-4/packages/courses/tcl/course-procs.xql 9 Feb 2005 22:54:02 -0000 1.6 @@ -113,9 +113,24 @@ + + + select count(revision_id) from cr_revisions where item_id = :item_id + + - + + + select count(rel_id) from acs_rels where object_id_one in ( + select revision_id from cr_revisions where item_id = :item_id ) + + + + + select rel_id from acs_rels where object_id_one in ( + select revision_id from cr_revisions where item_id = :item_id ) + + - - +