id!=None in grid
This commit is contained in:
@@ -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