MongoDB: number of records should be count on provide rows

This commit is contained in:
Bohuslav Simek 2019-03-23 09:24:41 +01:00 committed by Jakub Vrana
parent d846eac97e
commit 4b6833ba65
2 changed files with 2 additions and 1 deletions

View file

@ -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);
}

View file

@ -5,6 +5,7 @@ Allow overwriting tables when copying them
Cache busting for adminer.css
MySQL: Fix creating users and changing password in MySQL 8 (bug #663)
MySQL: Pass SRID to GeomFromText
Elasticsearch: Fix setting number of rows
Adminer 4.7.1 (released 2019-01-24):
Display the tables scrollbar (bug #647)