[tabs] use eid parameter instead of rql when an eid is given. Closes #2186288
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 14 Feb 2012 09:39:44 +0100
changeset 8237 f854cf9b089e
parent 8236 cc70da744f43
child 8239 c6cdd060212e
[tabs] use eid parameter instead of rql when an eid is given. Closes #2186288
web/views/tabs.py
--- a/web/views/tabs.py	Tue Feb 14 15:16:42 2012 +0100
+++ b/web/views/tabs.py	Tue Feb 14 09:39:44 2012 +0100
@@ -52,7 +52,7 @@
         if rql:
             urlparams['rql'] = rql
         elif eid:
-            urlparams['rql'] = uilib.rql_for_eid(eid)
+            urlparams['eid'] = eid
         elif rset:
             urlparams['rql'] = rset.printable_rql()
         if tabid is None: