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.2.2 -r1.10.2.3
--- openacs-4/packages/file-storage/sql/postgresql/file-storage-views-create.sql	6 Jul 2006 23:35:34 -0000	1.10.2.2
+++ openacs-4/packages/file-storage/sql/postgresql/file-storage-views-create.sql	12 Jul 2006 00:58:28 -0000	1.10.2.3
@@ -70,7 +70,7 @@
         when cr_items.content_type = 'content_folder'
         then (select count(*)
               from cr_items ci2
-              where ci2.content_type in ('content_extlink','file_storage_object','content_symlink')
+              where ci2.content_type <> 'content_folder'
                 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,
