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
2014-08-06 14:44:13 -05:00
+1 -1
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':