cid argument in SQLTABLE, thanks Massimiliano

This commit is contained in:
mdipierro
2012-09-17 08:58:01 -05:00
parent a4253deda3
commit eec7f7c687
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.0.9 (2012-09-17 07:13:22) stable
Version 2.0.9 (2012-09-17 08:57:56) stable
+2 -1
View File
@@ -2369,6 +2369,7 @@ class SQLTABLE(TABLE):
extracolumns=None,
selectid=None,
renderstyle=False,
cid=None,
**attributes
):
@@ -2406,7 +2407,7 @@ class SQLTABLE(TABLE):
row.append(TH(coldict['label'],**attrcol))
elif orderby:
row.append(TH(A(headers.get(c, c),
_href=th_link+'?orderby=' + c)))
_href=th_link+'?orderby=' + c, cid=cid)))
else:
row.append(TH(headers.get(c, c)))