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 -N -r1.56 -r1.57
--- openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql	7 Jul 2011 10:46:02 -0000	1.56
+++ openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql	27 Jul 2015 12:29:28 -0000	1.57
@@ -875,8 +875,7 @@
  acs_objects.last_modified,
  acs_objects.modifying_user,
  acs_objects.modifying_ip,
- acs_objects.tree_sortkey,
- acs_objects.max_child_sortkey, cr.revision_id, cr.title, cr.item_id,
+ cr.revision_id, cr.title, cr.item_id,
     content_revision__get_content(cr.revision_id) as data, 
     cr_text.text_data as text,
     cr.description, cr.publish_date, cr.mime_type, cr.nls_language' || 
@@ -903,8 +902,7 @@
  acs_objects.last_modified,
  acs_objects.modifying_user,
  acs_objects.modifying_ip,
- acs_objects.tree_sortkey,
- acs_objects.max_child_sortkey, cr.revision_id, cr.title, cr.item_id,
+ cr.revision_id, cr.title, cr.item_id,
     cr.description, cr.publish_date, cr.mime_type, cr.nls_language,
     i.name, i.parent_id' || 
     cols || 
