Index: openacs-4/packages/file-storage/sql/oracle/file-storage-views-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/sql/oracle/file-storage-views-create.sql,v
diff -u -r1.7.4.6 -r1.7.4.7
--- openacs-4/packages/file-storage/sql/oracle/file-storage-views-create.sql	1 Sep 2004 19:46:14 -0000	1.7.4.6
+++ openacs-4/packages/file-storage/sql/oracle/file-storage-views-create.sql	3 Sep 2004 15:58:49 -0000	1.7.4.7
@@ -78,7 +78,7 @@
       case
         when cr_items.content_type = 'content_folder' then cr_folders.label
         when cr_items.content_type = 'content_extlink' then cr_extlinks.label
-        else cr_items.name
+        else nvl(cr_revisions.filename,cr_items.name)
       end as name,
       cr_items.name as file_upload_name,
       cr_revisions.title,
