Changed a condition in order to not show None if there is not error

This commit is contained in:
omartrinidad
2014-08-01 09:47:46 -05:00
parent eff9b2d174
commit e29804eeb4

View File

@@ -2442,7 +2442,7 @@ class SQLFORM(FORM):
message = T('at least %(nrows)s records found') % dict(nrows=nrows)
else:
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()
if paginate and dbset._db._adapter.dbengine == 'google:datastore':