Index: openacs-4/packages/ams/tcl/ams-list-procs-postgresql.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/ams/tcl/ams-list-procs-postgresql.xql,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/ams/tcl/ams-list-procs-postgresql.xql 28 Oct 2005 21:02:46 -0000 1.3
+++ openacs-4/packages/ams/tcl/ams-list-procs-postgresql.xql 20 Feb 2006 10:43:52 -0000 1.4
@@ -72,6 +72,13 @@
+
+
+ delete from ams_list_attribute_map
+ where list_id = :list_id
+ and ( attribute_id = :attribute_id or sort_order = :sort_order )
+
+