Add ChangeLog entries for #16604, 700108ba90, 8597ec6814, ec04f6ebac

Entry for #16604 already exists

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2021-04-01 18:44:51 +02:00
parent 8597ec6814
commit 26cca2133d
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889
2 changed files with 8 additions and 0 deletions

View File

@ -51,6 +51,9 @@ phpMyAdmin - ChangeLog
- issue #16765 Fixed new lines in text fields are doubled
- issue Fix "Connection" label always shown on table create, should be hidden like it's input
- issue #16773 Fix do not use cast as binary for an empty text value on edit button condition
- issue Fixed a JS error on a missing script on zoom search
- issue Added button style on the reset charts of zoom search
- issue Fixed number of rows not kept when changing sort by index value
5.1.0 (2021-02-24)
- issue #15350 Change Media (MIME) type references to Media type

View File

@ -1269,6 +1269,11 @@ class Results
'sort_by_key' => '1',
];
// Keep the number of rows (25, 50, 100, ...) when changing sort key value
if (isset($_SESSION['tmpval']) && isset($_SESSION['tmpval']['max_rows'])) {
$hiddenFields['session_max_rows'] = $_SESSION['tmpval']['max_rows'];
}
$isIndexUsed = false;
$localOrder = is_array($sortExpression) ? implode(', ', $sortExpression) : '';