Index: openacs-4/packages/file-storage/www/file-add-2-oracle.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/Attic/file-add-2-oracle.xql,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/file-storage/www/file-add-2-oracle.xql 16 Aug 2001 20:25:34 -0000 1.1
+++ openacs-4/packages/file-storage/www/file-add-2-oracle.xql 4 Sep 2001 01:28:59 -0000 1.2
@@ -12,7 +12,8 @@
parent_id => :folder_id,
context_id => :folder_id,
creation_user => :user_id,
- creation_ip => :creation_ip
+ creation_ip => :creation_ip,
+ item_subtype => 'file_storage_item' -- Needed by site-wide search
);
end;
Index: openacs-4/packages/file-storage/www/file-add-2-postgresql.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/Attic/file-add-2-postgresql.xql,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/file-storage/www/file-add-2-postgresql.xql 16 Aug 2001 20:27:17 -0000 1.1
+++ openacs-4/packages/file-storage/www/file-add-2-postgresql.xql 4 Sep 2001 01:29:19 -0000 1.2
@@ -7,21 +7,21 @@
select content_item__new (
- :filename, -- name
- :folder_id, -- parent_id
- null, -- item_id (default)
- null, -- locale (default)
- now(), -- creation_date (default)
- :user_id, -- creation_user
- :folder_id, -- context_id
- :creation_ip, -- creation_ip
- 'content_item', -- item_subtype (default)
- 'content_revision', -- content_type (default)
- null, -- title (default)
- null, -- description
- 'text/plain', -- mime_type (default)
- null, -- nls_language (default)
- null -- data (default)
+ :filename, -- name
+ :folder_id, -- parent_id
+ null, -- item_id (default)
+ null, -- locale (default)
+ now(), -- creation_date (default)
+ :user_id, -- creation_user
+ :folder_id, -- context_id
+ :creation_ip, -- creation_ip
+ 'file_storage_item', -- item_subtype (needed by site-wide search)
+ 'content_revision', -- content_type (default)
+ null, -- title (default)
+ null, -- description
+ 'text/plain', -- mime_type (default)
+ null, -- nls_language (default)
+ null -- data (default)
);
Index: openacs-4/packages/file-storage/www/file-add-2.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/Attic/file-add-2.tcl,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/file-storage/www/file-add-2.tcl 20 Apr 2001 20:51:10 -0000 1.1
+++ openacs-4/packages/file-storage/www/file-add-2.tcl 4 Sep 2001 01:29:38 -0000 1.2
@@ -52,7 +52,8 @@
parent_id => :folder_id,
context_id => :folder_id,
creation_user => :user_id,
- creation_ip => :creation_ip
+ creation_ip => :creation_ip,
+ item_subtupe => 'file_storage_item' -- needed by site-wide search
);
end;"]
Index: openacs-4/packages/file-storage/www/file-copy-2-oracle.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/Attic/file-copy-2-oracle.xql,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/file-storage/www/file-copy-2-oracle.xql 16 Aug 2001 20:28:12 -0000 1.1
+++ openacs-4/packages/file-storage/www/file-copy-2-oracle.xql 4 Sep 2001 01:29:52 -0000 1.2
@@ -13,7 +13,8 @@
name => :name,
content_type => :content_type,
creation_user => :user_id,
- creation_ip => :ip_address
+ creation_ip => :ip_address,
+ item_subtype => 'file_storage_item' -- needed by site-wide search
);
end;
Index: openacs-4/packages/file-storage/www/file-copy-2-postgresql.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/Attic/file-copy-2-postgresql.xql,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/file-storage/www/file-copy-2-postgresql.xql 18 Aug 2001 17:10:54 -0000 1.2
+++ openacs-4/packages/file-storage/www/file-copy-2-postgresql.xql 4 Sep 2001 01:30:06 -0000 1.3
@@ -7,21 +7,21 @@
select content_item__new (
- :name, -- name
- :parent_id, -- parent_id
- null, -- item_id (default)
- null, -- locale (default)
- now(), -- creation_date (default)
- :user_id, -- creation_user
- :parent_id, -- context_id
- :ip_address, -- creation_ip
- 'content_item', -- item_subtype (default)
- :content_type, -- content_type
- null, -- title (default)
- null, -- description
- 'text/plain', -- mime_type (default)
- null, -- nls_language (default)
- null -- data (default)
+ :name, -- name
+ :parent_id, -- parent_id
+ null, -- item_id (default)
+ null, -- locale (default)
+ now(), -- creation_date (default)
+ :user_id, -- creation_user
+ :parent_id, -- context_id
+ :ip_address, -- creation_ip
+ 'file_storage_item', -- item_subtype (needed by site-wide search)
+ :content_type, -- content_type
+ null, -- title (default)
+ null, -- description
+ 'text/plain', -- mime_type (default)
+ null, -- nls_language (default)
+ null -- data (default)
);
Index: openacs-4/packages/file-storage/www/file-copy-2.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/Attic/file-copy-2.tcl,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/file-storage/www/file-copy-2.tcl 30 Aug 2001 01:52:43 -0000 1.3
+++ openacs-4/packages/file-storage/www/file-copy-2.tcl 4 Sep 2001 01:30:23 -0000 1.4
@@ -56,7 +56,8 @@
name => :name,
content_type => :content_type,
creation_user => :user_id,
- creation_ip => :ip_address
+ creation_ip => :ip_address,
+ item_subtype => 'file_storage_item' -- needed by site-wide search
);
end;"]