Index: openacs-4/packages/file-storage/www/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/index.tcl,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/file-storage/www/index.tcl 20 Aug 2001 17:30:44 -0000 1.3 +++ openacs-4/packages/file-storage/www/index.tcl 22 Sep 2001 05:56:22 -0000 1.4 @@ -49,11 +49,7 @@ content_item.get_path(i.item_id,file_storage.get_root_folder(:package_id)) as path, r.mime_type as type, to_char(o.last_modified,'YYYY-MM-DD HH24:MI') as last_modified, - -- JS: For now, we stick to port of the original version. According to DanW, we - -- JS: should take care of filling up content_length. Ideally, we want to abstract away - -- JS: the calculation of content_length independent of storage_type, so eventually this - -- JS: will just call the content_length attribute - 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