[treeview] pass back subvid parameter to treeview when computing an opened subtree stable
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 07 Oct 2009 14:50:33 +0200
branchstable
changeset 3596 8719de6d7155
parent 3595 b61f1c5e6c55
child 3598 b4a2bad9c26a
[treeview] pass back subvid parameter to treeview when computing an opened subtree
web/views/treeview.py
--- a/web/views/treeview.py	Wed Oct 07 14:37:15 2009 +0200
+++ b/web/views/treeview.py	Wed Oct 07 14:50:33 2009 +0200
@@ -180,6 +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), treeid=treeid, initial_load=False, **morekwargs)
+            self.wview(parentvid, self.req.execute(rql), subvid=vid, treeid=treeid,
+                       initial_load=False, **morekwargs)
         w(u'</li>')