[treeview] pass back subvid parameter to treeview when computing an opened subtree
--- 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>')