Index: openacs-4/packages/file-storage/www/folder-chunk-oracle.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/folder-chunk-oracle.xql,v
diff -u -r1.12 -r1.13
--- openacs-4/packages/file-storage/www/folder-chunk-oracle.xql 8 Aug 2006 21:26:49 -0000 1.12
+++ openacs-4/packages/file-storage/www/folder-chunk-oracle.xql 15 Jun 2007 19:37:13 -0000 1.13
@@ -47,4 +47,12 @@
+
+
+
+ and fs_objects.object_id in ( select object_id from category_object_map where category_id = :category_id )
+
+
+
+
Index: openacs-4/packages/file-storage/www/folder-chunk-postgresql.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/folder-chunk-postgresql.xql,v
diff -u -r1.15 -r1.16
--- openacs-4/packages/file-storage/www/folder-chunk-postgresql.xql 15 Jun 2007 17:40:29 -0000 1.15
+++ openacs-4/packages/file-storage/www/folder-chunk-postgresql.xql 15 Jun 2007 19:37:13 -0000 1.16
@@ -48,4 +48,12 @@
+
+
+
+ and fs_objects.object_id in ( select object_id from category_object_map where category_id = :category_id )
+
+
+
+
Index: openacs-4/packages/file-storage/www/folder-chunk.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/folder-chunk.tcl,v
diff -u -r1.40 -r1.41
--- openacs-4/packages/file-storage/www/folder-chunk.tcl 15 Jun 2007 17:40:29 -0000 1.40
+++ openacs-4/packages/file-storage/www/folder-chunk.tcl 15 Jun 2007 19:37:13 -0000 1.41
@@ -215,7 +215,6 @@
if { $categories_p && [exists_and_not_null category_id] } {
set categories_limitation [db_map categories_limitation]
- set categories_limitation " and fs_objects.object_id in ( select object_id from category_object_map where category_id = $category_id )"
} else {
set categories_limitation {}
}