use ITree api stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 20 Nov 2009 15:17:56 +0100
branchstable
changeset 3888 6f145783409d
parent 3885 32634970a36c
child 3889 8902b8745918
child 3891 b176f345c5b1
use ITree api
web/views/treeview.py
--- a/web/views/treeview.py	Thu Nov 19 19:50:36 2009 +0100
+++ b/web/views/treeview.py	Fri Nov 20 15:17:56 2009 +0100
@@ -180,7 +180,7 @@
         # the local node info
         self.wview(vid, self.rset, row=row, col=col, **morekwargs)
         if is_open and not is_leaf: #  => rql is defined
-            self.wview(parentvid, self.req.execute(rql), subvid=vid, treeid=treeid,
-                       initial_load=False, **morekwargs)
+            self.wview(parentvid, entity.children(entities=False), subvid=vid,
+                       treeid=treeid, initial_load=False, **morekwargs)
         w(u'</li>')