Index: openacs-4/packages/cms/tcl/module-procs-oracle.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/tcl/module-procs-oracle.xql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/cms/tcl/module-procs-oracle.xql 14 Aug 2001 18:11:30 -0000 1.2 +++ openacs-4/packages/cms/tcl/module-procs-oracle.xql 20 Aug 2001 04:35:41 -0000 1.3 @@ -3,8 +3,60 @@ oracle8.1.6 - + + + select + o.object_id as item_id, + o.object_type || ': ' || acs_object.name(o.object_id) as item_path, + o.object_type as item_type + from + acs_objects o, parties p + where + o.object_id = p.party_id + and + o.object_id in ($sql_id_list) + order by + item_path + + + + + + + + select + item_id, + content_item.get_path(item_id, :sorted_paths_root_id) as item_path, + content_type as item_type + from + cr_items + where + item_id in ($sql_id_list) + order by item_path + + + + + + + + + select + keyword_id as item_id, + content_keyword.get_path(keyword_id) as item_path, + 'content_keyword' as item_type + from + cr_keywords + where + keyword_id in ($sql_id_list) + + + + + + + select :mount_point as mount_point, @@ -29,23 +81,23 @@ - + select content_template.get_root_folder() from dual - + select content_item.get_root_folder() from dual - + select @@ -61,11 +113,10 @@ - - + + - - select + select :module_name as mount_point, t.pretty_name, t.object_type, @@ -84,15 +135,13 @@ supertype = :id order by t.pretty_name - - + - - select + select :module_name as mount_point, content_keyword.get_heading(keyword_id) as name, keyword_id, @@ -116,11 +165,10 @@ - - + + - - select + select :module_name as mount_point, g.group_name as name, g.group_id, '' as children, @@ -139,57 +187,8 @@ $where_clause order by name - - - - select - item_id, - content_item.get_path(item_id, :sorted_paths_root_id) as item_path, - content_type as item_type - from - cr_items - where - item_id in ($sql_id_list) - order by item_path - - - - - - - select - keyword_id as item_id, - content_keyword.get_path(keyword_id) as item_path, - 'content_keyword' as item_type - from - cr_keywords - where - keyword_id in ($sql_id_list) - - - - - - - - select - o.object_id as item_id, - o.object_type || ': ' || acs_object.name(o.object_id) as item_path, - o.object_type as item_type - from - acs_objects o, parties p - where - o.object_id = p.party_id - and - o.object_id in ($sql_id_list) - order by - item_path - - - -