]> git.joonet.de Git - adminer.git/commitdiff
Respect 'whole result' even if some rows are checked (bug #339)
authorJakub Vrana <jakub@vrana.cz>
Sat, 21 Dec 2013 01:07:46 +0000 (17:07 -0800)
committerJakub Vrana <jakub@vrana.cz>
Sat, 21 Dec 2013 01:07:46 +0000 (17:07 -0800)
adminer/select.inc.php
changes.txt

index 1aba9dbea101156c57f75157322e617ef96ca978..c52289bc67834d7cf4583e1b445c103b816a8edf 100644 (file)
@@ -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) : "");
index 0a11cf431486d39b85ef4c35cdf4bd700d50879b..2dfc2b3059b7f2d7410a2e0c925fe90383d95c97 100644 (file)
@@ -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