Index: openacs-4/packages/ams/tcl/ams-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ams/tcl/ams-procs-postgresql.xql,v diff -u -r1.19 -r1.20 --- openacs-4/packages/ams/tcl/ams-procs-postgresql.xql 31 Jan 2006 00:54:50 -0000 1.19 +++ openacs-4/packages/ams/tcl/ams-procs-postgresql.xql 1 Feb 2006 01:07:37 -0000 1.20 @@ -139,7 +139,7 @@ where alam.attribute_id = aa.attribute_id and alam.list_id in ($list_ids) - order by alam.sort_order + $orderby_clause @@ -175,7 +175,7 @@ where alam.attribute_id = aa.attribute_id and alam.list_id in ($list_ids) - order by alam.sort_order + $orderby_clause