Changed a condition in order to not show None if there is not error
This commit is contained in:
+1
-1
@@ -2442,7 +2442,7 @@ class SQLFORM(FORM):
|
|||||||
message = T('at least %(nrows)s records found') % dict(nrows=nrows)
|
message = T('at least %(nrows)s records found') % dict(nrows=nrows)
|
||||||
else:
|
else:
|
||||||
message = T('%(nrows)s records found') % dict(nrows=nrows)
|
message = T('%(nrows)s records found') % dict(nrows=nrows)
|
||||||
console.append(DIV(message or T('None'), _class='web2py_counter'))
|
console.append(DIV(message or '', _class='web2py_counter'))
|
||||||
|
|
||||||
paginator = UL()
|
paginator = UL()
|
||||||
if paginate and dbset._db._adapter.dbengine == 'google:datastore':
|
if paginate and dbset._db._adapter.dbengine == 'google:datastore':
|
||||||
|
|||||||
Reference in New Issue
Block a user