Merge pull request #475 from omartrinidad/master

Changed a condition in order to not show `None` if there is no errors
This commit is contained in:
mdipierro committed 2014-08-06 14:44:13 -05:00
commit 8f649f1820
1 file changed
+1 -1
+1 -1
View File
@@ -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':