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.22 -r1.23 --- openacs-4/packages/ams/tcl/ams-procs-postgresql.xql 20 Feb 2006 10:43:52 -0000 1.22 +++ openacs-4/packages/ams/tcl/ams-procs-postgresql.xql 13 Mar 2006 04:19:14 -0000 1.23 @@ -41,7 +41,7 @@ select attribute_id from acs_attributes - where object_type = :object_type + where object_type in ([ams::object_parents -sql -show_root -object_type $object_type]) and attribute_name = :attribute_name