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 -r1.2 -r1.3 --- openacs-4/packages/file-storage/www/index.tcl 13 Aug 2001 01:08:35 -0000 1.2 +++ openacs-4/packages/file-storage/www/index.tcl 20 Aug 2001 17:30:44 -0000 1.3 @@ -49,6 +49,10 @@ 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, 1 as ordering_key from cr_items i, cr_revisions r, acs_objects o