diff --git a/VERSION b/VERSION index 094c3568..be55cb8c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.1-alpha.2+timestamp.2013.01.20.14.22.13 +Version 2.4.1-alpha.2+timestamp.2013.01.20.14.47.52 diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index aa725f15..bf9e8ea0 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -2017,7 +2017,12 @@ class SQLFORM(FORM): expcolumns = columns if export_type.endswith('with_hidden_cols'): - expcolumns = [f for f in fields if f._tablename in tablenames] + expcolumns = [] + for table in tables: + for field in table: + if field.readable and field._tablename in tablenames: + expcolumns.append(field) + if export_type in exportManager and exportManager[export_type]: if request.vars.keywords: try: