fixed comment

This commit is contained in:
Tim Richardson
2014-01-31 16:26:42 +11:00
parent 18af4e92b0
commit 64ccd9043e

View File

@@ -2192,7 +2192,7 @@ class SQLFORM(FORM):
expcolumns.append(str(field))
if not(isinstance(field,Field.Virtual)):
selectable_columns.append(str(field))
#look for virtual fields not displayed (and computed fields to be added here)
#look for virtual fields not displayed (and virtual method fields to be added here?)
for (field_name,field) in table.iteritems():
if isinstance(field,Field.Virtual) and not str(field) in expcolumns:
expcolumns.append(str(field))