]> git.joonet.de Git - adminer.git/commitdiff
MongoDB: number of records should be count on provide rows
authorBohuslav Simek <bohuslav.simek@intraworlds.com>
Sat, 23 Mar 2019 08:24:41 +0000 (09:24 +0100)
committerJakub Vrana <jakub@vrana.cz>
Sun, 14 Jul 2019 17:10:16 +0000 (19:10 +0200)
adminer/drivers/elastic.inc.php
changes.txt

index 6c88f0ad0cf4bd05e9db7e8394d3bbadf533ec88..e5c2de58fc2cad725e5ef42112a3bcd3bd7afb3a 100644 (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);
                        }
index e4c5446e2dd5382b921aac5e5c8e92b2968ccde2..e49090314acc60ba68f7f793862f9d8483136d9c 100644 (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)