Index: openacs-4/packages/file-storage/www/index-oracle.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/Attic/index-oracle.xql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/file-storage/www/index-oracle.xql 20 Aug 2001 17:30:31 -0000 1.2 +++ openacs-4/packages/file-storage/www/index-oracle.xql 22 Sep 2001 05:55:36 -0000 1.3 @@ -7,12 +7,12 @@ select i.item_id as file_id, - r.title as name, + i.name as name, i.live_revision, - content_item.get_path(i.item_id,file_storage.get_root_folder(:package_id)) as path, + file_storage.get_path(i.item_id,file_storage.get_root_folder(:package_id),null) as path, r.mime_type as type, to_char(o.last_modified,'YYYY-MM-DD HH24:MI') as last_modified, - dbms_lob.getlength(r.content) as content_size, + r.content_length as content_size, 1 as ordering_key from cr_items i, cr_revisions r, acs_objects o where i.item_id = o.object_id @@ -24,7 +24,7 @@ select i.item_id as file_id, f.label as name, 0, - content_item.get_path(f.folder_id) as path, + file_storage.get_path(f.folder_id,null,null) as path, 'Folder', NULL, 0,