Index: openacs-4/packages/assessment/www/admin/catalog-browse.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/admin/Attic/catalog-browse.xql,v diff -u -r1.1 -r1.2 --- openacs-4/packages/assessment/www/admin/catalog-browse.xql 9 Dec 2004 11:10:57 -0000 1.1 +++ openacs-4/packages/assessment/www/admin/catalog-browse.xql 10 Jan 2005 13:40:01 -0000 1.2 @@ -97,6 +97,8 @@ and i.as_item_id not in (select m.as_item_id from as_item_section_map m where m.section_id = :section_id) + and exists (select 1 from as_item_rels ir where item_rev_id = + cr.revision_id and ir.rel_type = 'as_item_display_rel') and ao.object_id = cr.revision_id and p.person_id = ao.creation_user and ir.item_rev_id = cr.revision_id Index: openacs-4/packages/assessment/www/admin/catalog-item-add.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/admin/Attic/catalog-item-add.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/assessment/www/admin/catalog-item-add.tcl 29 Dec 2004 09:07:39 -0000 1.4 +++ openacs-4/packages/assessment/www/admin/catalog-item-add.tcl 10 Jan 2005 13:40:01 -0000 1.5 @@ -69,7 +69,7 @@ } db_multirow -extend { presentation_type html } items items {} { - set presentation_type [as::item_form::add_item_to_form show_items "" $section_id $as_item_id] + set presentation_type [as::item_form::add_item_to_form -name show_items -section_id $section_id -item_id $as_item_id] if {$presentation_type == "fitb"} { regsub -all -line -nocase -- {