Index: openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql	28 Mar 2001 02:20:11 -0000	1.3
+++ openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql	29 Mar 2001 01:21:03 -0000	1.4
@@ -610,7 +610,7 @@
 
   execute ''create view '' || v_table_name ||
     ''i as select acs_objects.*, cr.revision_id, cr.title, cr.item_id,
-    cr.content as data, cr_text.text,
+    content_revision__get_content(cr.revision_id) as data, cr_text.text,
     cr.description, cr.publish_date, cr.mime_type, cr.nls_language'' || 
     cols || 
     '' from acs_objects, cr_revisions cr, cr_text'' || tabs || '' where 
