From 2b99fd0ba621c9acaecdb51409f4e7f528f14962 Mon Sep 17 00:00:00 2001 From: Massimo Date: Wed, 3 Oct 2012 11:58:50 -0500 Subject: [PATCH] fixed some problem with grid --- VERSION | 2 +- gluon/sqlhtml.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 2a886d26..3a85b362 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.0.9 (2012-10-03 11:53:40) dev +Version 2.0.9 (2012-10-03 11:58:23) dev diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index 47b3c823..59cb6f6a 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -1888,7 +1888,7 @@ class SQLFORM(FORM): rows = dbset.select(cacheable=True) else: rows = dbset.select(left=left,orderby=orderby, - cacheable=True*columns) + cacheable=True,*columns) if export_type in exportManager: value = exportManager[export_type] @@ -2039,7 +2039,7 @@ class SQLFORM(FORM): table_fields = [f for f in fields if f._tablename in tablenames] rows = dbset.select(left=left,orderby=orderby, groupby=groupby,limitby=limitby, - cacheable=True,*table_fields) + *table_fields) except SyntaxError: rows = None error = T("Query Not Supported")