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

Don't use AJAX links and forms

This commit is contained in:
Jakub Vrana
2012-04-15 22:18:03 -07:00
parent bf54c13dfe
commit 4815c7d020
37 changed files with 13 additions and 258 deletions

View File

@@ -377,7 +377,7 @@ if (!$columns) {
$found_rows = found_rows($table_status, $where);
if ($found_rows < max(1e4, 2 * ($page + 1) * $limit)) {
// slow with big tables
ob_flush(); //! doesn't work with AJAX
ob_flush();
flush();
$found_rows = $connection->result("SELECT COUNT(*) FROM " . table($TABLE) . ($where ? " WHERE " . implode(" AND ", $where) : ""));
} else {