mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 17:14:07 +02:00
MongoDB: number of records should be count on provide rows
This commit is contained in:
committed by
Jakub Vrana
parent
d846eac97e
commit
4b6833ba65
@@ -84,7 +84,7 @@ if (isset($_GET["elastic"])) {
|
||||
var $num_rows, $_rows;
|
||||
|
||||
function __construct($rows) {
|
||||
$this->num_rows = count($this->_rows);
|
||||
$this->num_rows = count($rows);
|
||||
$this->_rows = $rows;
|
||||
reset($this->_rows);
|
||||
}
|
||||
|
Reference in New Issue
Block a user