fixed some problem with grid

This commit is contained in:
Massimo
2012-10-03 11:58:50 -05:00
parent 4ab78a096b
commit 2b99fd0ba6
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.0.9 (2012-10-03 11:53:40) dev
Version 2.0.9 (2012-10-03 11:58:23) dev
+2 -2
View File
@@ -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")