# HG changeset patch # User Adrien Di Mascio # Date 1299754595 -3600 # Node ID f239da8e7c396bb88aafc6c411d10870b6d7a131 # Parent 7baf7515c3b988049445a0433ec7c4b8406b201c [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). diff -r 7baf7515c3b9 -r f239da8e7c39 web/views/tabs.py --- 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: