From eec7f7c687ead92ba807db7890bcb2d8f655490c Mon Sep 17 00:00:00 2001 From: mdipierro Date: Mon, 17 Sep 2012 08:58:01 -0500 Subject: [PATCH] cid argument in SQLTABLE, thanks Massimiliano --- VERSION | 2 +- gluon/sqlhtml.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index f7be1024..6ebfe39a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.0.9 (2012-09-17 07:13:22) stable +Version 2.0.9 (2012-09-17 08:57:56) stable diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index a19e8092..5e345f7c 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -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)))