web/views/treeview.py
changeset 5557 1a534c596bff
parent 5556 9ab2b4c74baf
child 5569 cb14af012a96
--- a/web/views/treeview.py	Thu May 20 20:47:55 2010 +0200
+++ b/web/views/treeview.py	Thu May 20 20:50:00 2010 +0200
@@ -54,7 +54,7 @@
 
         XXX should be removed from the public interface
         """
-        return self.entity.related_rql(self.tree_relation, self.parent_role)
+        return self.entity.cw_related_rql(self.tree_relation, self.parent_role)
 
     @implements_adapter_compat('ITree')
     def different_type_children(self, entities=True):