Index: openacs-4/packages/dotlrn-ecommerce/sql/postgresql/dotlrn-ecommerce-views-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/sql/postgresql/dotlrn-ecommerce-views-create.sql,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/dotlrn-ecommerce/sql/postgresql/dotlrn-ecommerce-views-create.sql	15 Sep 2005 16:27:49 -0000	1.5
+++ openacs-4/packages/dotlrn-ecommerce/sql/postgresql/dotlrn-ecommerce-views-create.sql	15 Sep 2005 18:15:19 -0000	1.6
@@ -176,7 +176,7 @@
 	       from dotlrn_member_rels_approved
 	       where community_id = s.community_id
 	       and rel_type in ('dotlrn_member_rel', 'dc_student_rel')) as attendees
-	      from dotlrn_ecommerce_section s) s
+	      from dlec_view_sections s) s
 	left join ec_custom_product_field_values v
 	on (s.product_id = v.product_id)
 );
Index: openacs-4/packages/dotlrn-ecommerce/sql/postgresql/upgrade/upgrade-0.1d17-0.1d18.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/sql/postgresql/upgrade/upgrade-0.1d17-0.1d18.sql,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/dotlrn-ecommerce/sql/postgresql/upgrade/upgrade-0.1d17-0.1d18.sql	15 Sep 2005 16:27:48 -0000	1.3
+++ openacs-4/packages/dotlrn-ecommerce/sql/postgresql/upgrade/upgrade-0.1d17-0.1d18.sql	15 Sep 2005 18:15:19 -0000	1.4
@@ -17,7 +17,7 @@
 	       from dotlrn_member_rels_approved
 	       where community_id = s.community_id
 	       and rel_type in ('dotlrn_member_rel', 'dc_student_rel')) as attendees
-	      from dotlrn_ecommerce_section s) s
+	      from dlec_view_sections s) s
 	left join ec_custom_product_field_values v
 	on (s.product_id = v.product_id)
 );