Respect 'whole result' even if some rows are checked (bug #339)

This commit is contained in:
Jakub Vrana 2013-12-20 17:07:46 -08:00
parent 64af68a30b
commit 650f61cac1
2 changed files with 2 additions and 1 deletions

View 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) : "");

View 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