diff --git a/adminer/select.inc.php b/adminer/select.inc.php index 1aba9dbe..c52289bc 100644 --- a/adminer/select.inc.php +++ b/adminer/select.inc.php @@ -46,7 +46,7 @@ if ($_GET["val"] && is_ajax()) { if ($_POST && !$error) { $where_check = $where; - if (is_array($_POST["check"])) { + if (!$_POST["all"] && is_array($_POST["check"])) { $where_check[] = "((" . implode(") OR (", array_map('where_check', $_POST["check"])) . "))"; } $where_check = ($where_check ? "\nWHERE " . implode(" AND ", $where_check) : ""); diff --git a/changes.txt b/changes.txt index 0a11cf43..2dfc2b30 100644 --- a/changes.txt +++ b/changes.txt @@ -62,6 +62,7 @@ Don't use LIMIT 1 if updating unique row (bug #3613109) Restrict editing rows without unique identifier to search results Display navigation bellow main content on mobile browsers Get number of rows on export page asynchronously +Respect 'whole result' even if some rows are checked (bug #339 since Adminer 3.7.0) MySQL: Optimize create table page and Editor navigation MySQL: Display bit type as binary number MySQL: Improve export of binary data types