Index: openacs-4/packages/lors/lib/course-structure.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lors/lib/course-structure.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/lors/lib/course-structure.tcl 7 Jun 2006 13:54:46 -0000 1.1 +++ openacs-4/packages/lors/lib/course-structure.tcl 7 Jun 2006 14:36:55 -0000 1.2 @@ -91,9 +91,9 @@ [_ lorsm.Items] " -db_foreach organizations { } { +db_multirow organizations organizations { } { } +template::multirow foreach organizations { - set total_items [db_string items_count {select count(*) from ims_cp_items where org_id=:org_id} -default 0] # We get the indent of the items in this org_id set indent_list [lorsm::get_items_indent -org_id $org_id]