[tabs] forward url parameters to lazy tabs views
If
http://www.cubicweb.org/project/foo?x=12&y=13
dislays a LazyTabView, this patch forwards {x: 12, y: 13} to
subsequent lazy tabs (i.e. called through ajax queries).
--- a/web/views/tabs.py Wed Mar 09 18:26:43 2011 +0100
+++ b/web/views/tabs.py Thu Mar 10 11:56:35 2011 +0100
@@ -47,7 +47,8 @@
""" a lazy version of wview """
w = w or self.w
self._cw.add_js('cubicweb.lazy.js')
- urlparams = {'vid' : vid, 'fname' : 'view'}
+ urlparams = self._cw.form.copy()
+ urlparams.update({'vid' : vid, 'fname' : 'view'})
if rql:
urlparams['rql'] = rql
elif eid: