Index: openacs-4/packages/cms/www/modules/items/relate-items.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/items/Attic/relate-items.xql,v
diff -u -r1.1.2.1 -r1.1.2.2
--- openacs-4/packages/cms/www/modules/items/relate-items.xql 19 Feb 2007 22:17:43 -0000 1.1.2.1
+++ openacs-4/packages/cms/www/modules/items/relate-items.xql 19 Feb 2007 22:30:35 -0000 1.1.2.2
@@ -5,17 +5,17 @@
select relation_tag
from cr_type_relations
- where content_type = :content_type
- and target_type = :target_type
+ where content_type = :item_type
+ and target_type = :object_type
select relation_tag
from cr_type_children
- where parent_type = :content_type
- and child_type = :child_type
+ where parent_type = :item_type
+ and child_type = :object_type