Index: openacs-4/packages/contacts/tcl/attribute-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/tcl/attribute-procs-postgresql.xql,v diff -u -r1.4 -r1.5 --- openacs-4/packages/contacts/tcl/attribute-procs-postgresql.xql 18 May 2005 16:45:49 -0000 1.4 +++ openacs-4/packages/contacts/tcl/attribute-procs-postgresql.xql 29 Aug 2005 22:49:50 -0000 1.5 @@ -117,5 +117,19 @@ + + + select + distinct + a.pretty_name, + ot.attribute_id + from + ams_option_types ot, + ams_attributes a + where + ot.attribute_id = a.attribute_id + order by a.pretty_name asc + +