Explorar el Código

bugfix wrong count

root hace 1 año
padre
commit
ab63227ada
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      core/UI/Widget/DataTable/DataTable.php

+ 1 - 1
core/UI/Widget/DataTable/DataTable.php

@@ -136,7 +136,7 @@ class DataTable extends BaseContainer implements \ModulesGarden\Servers\ZimbraEm
 
     protected function getCount()
     {
-        return count($this->recordsSet);
+        return count($this->recordsSet['records');
     }
 
     protected function getRecords()