mixins.py
changeset 5557 1a534c596bff
parent 5556 9ab2b4c74baf
child 5569 cb14af012a96
--- a/mixins.py	Thu May 20 20:47:55 2010 +0200
+++ b/mixins.py	Thu May 20 20:50:00 2010 +0200
@@ -145,7 +145,7 @@
                                 entities=entities)
 
     def children_rql(self):
-        return self.related_rql(self.tree_attribute, self.children_target)
+        return self.cw_related_rql(self.tree_attribute, self.children_target)
 
     def is_leaf(self):
         return len(self.children()) == 0