id!=None in grid
This commit is contained in:
1 parent
343f295b6b
commit
66c3855e23
2 files changed
+2
-2
No files matched your search
@@ -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
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user