id!=None in grid

This commit is contained in:
Massimo
2013-02-08 12:42:10 -06:00
parent 343f295b6b
commit 66c3855e23
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.4.1-alpha.2+timestamp.2013.02.07.05.36.19
Version 2.4.1-alpha.2+timestamp.2013.02.08.12.41.08
+1 -1
View File
@@ -2514,7 +2514,7 @@ class SQLFORM(FORM):
except (KeyError, ValueError, TypeError):
redirect(URL(args=table._tablename))
if nargs == len(args) + 1:
query = table._id > 0
query = table._id != None
# filter out data info for displayed table
if table._tablename in constraints: