1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 09:34:10 +02:00

Fix global search in all tables

This commit is contained in:
Peter Knut
2021-04-05 00:13:07 +02:00
committed by Jakub Vrana
parent 1270748f74
commit dc1ad9e8ed
3 changed files with 28 additions and 2 deletions

View File

@@ -61,7 +61,7 @@ if ($adminer->homepage()) {
echo " <input type='submit' name='search' value='" . lang('Search') . "'>\n";
echo "</div></fieldset>\n";
if ($_POST["search"] && $_POST["query"] != "") {
$_GET["where"][0]["op"] = "LIKE %%";
$_GET["where"][0]["op"] = $driver->convertOperator("LIKE %%");
search_tables();
}
}