web/views/treeview.py
changeset 3890 d7a270f50f54
parent 3629 559cad62c786
parent 3888 6f145783409d
child 3998 94cc7cad3d2d
--- a/web/views/treeview.py	Sun Nov 08 21:53:18 2009 +0100
+++ b/web/views/treeview.py	Fri Nov 20 19:35:54 2009 +0100
@@ -180,7 +180,7 @@
         # the local node info
         self.wview(vid, self.cw_rset, row=row, col=col, **morekwargs)
         if is_open and not is_leaf: #  => rql is defined
-            self.wview(parentvid, self._cw.execute(rql), subvid=vid,
+            self.wview(parentvid, entity.children(entities=False), subvid=vid,
                        treeid=treeid, initial_load=False, **morekwargs)
         w(u'</li>')