Index: openacs-4/packages/file-storage/sql/postgresql/file-storage-views-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/sql/postgresql/file-storage-views-create.sql,v diff -u -r1.10 -r1.10.2.1 --- openacs-4/packages/file-storage/sql/postgresql/file-storage-views-create.sql 29 Jun 2004 10:18:23 -0000 1.10 +++ openacs-4/packages/file-storage/sql/postgresql/file-storage-views-create.sql 25 Aug 2005 18:33:38 -0000 1.10.2.1 @@ -69,7 +69,7 @@ when cr_items.content_type = 'content_folder' then (select count(*) from cr_items ci2 - where ci2.content_type <> 'content_folder' + where ci2.content_type in ('content_extlink','file_storage_object') and ci2.tree_sortkey between cr_items.tree_sortkey and tree_right(cr_items.tree_sortkey)) else cr_revisions.content_length end as content_size,