mirror of
https://github.com/vrana/adminer.git
synced 2025-08-06 14:46:36 +02:00
PostgreSQL: Hide only partitions, not all inherited tables from menu
This commit is contained in:
@@ -1100,7 +1100,7 @@ class Adminer {
|
||||
foreach ($tables as $table => $status) {
|
||||
$table = "$table"; // do not highlight "0" as active everywhere
|
||||
$name = adminer()->tableName($status);
|
||||
if ($name != "" && !$status["inherited"]) {
|
||||
if ($name != "" && !$status["partition"]) {
|
||||
echo '<li><a href="' . h(ME) . 'select=' . urlencode($table) . '"'
|
||||
. bold($_GET["select"] == $table || $_GET["edit"] == $table, "select")
|
||||
. " title='" . lang('Select data') . "'>" . lang('select') . "</a> "
|
||||
|
Reference in New Issue
Block a user