fixed a bug and added support for user/bulk_register

This commit is contained in:
mdipierro
2015-06-28 09:01:10 -05:00
3 changed files with 138 additions and 8 deletions
+1 -1
View File
@@ -1756,7 +1756,7 @@ class SQLFORM(FORM):
keywords = keywords[0]
request.vars.keywords = keywords
key = keywords.strip()
if not '"' in key:
if key and not '"' in key:
SEARCHABLE_TYPES = ('string', 'text', 'list:string')
sfields = [field for field in fields if field.type in SEARCHABLE_TYPES]
if settings.global_settings.web2py_runtime_gae: