mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 23:57:29 +02:00
Order PostgreSQL table list by name
This commit is contained in:
@@ -210,7 +210,7 @@ if (isset($_GET["pgsql"])) {
|
||||
FROM pg_class
|
||||
WHERE relkind IN ('r','v')
|
||||
AND relnamespace = (SELECT oid FROM pg_namespace WHERE nspname = current_schema())"
|
||||
. ($name != "" ? " AND relname = " . q($name) : "")
|
||||
. ($name != "" ? " AND relname = " . q($name) : " ORDER BY relname")
|
||||
) as $row) { //! Index_length, Auto_increment
|
||||
$return[$row["Name"]] = $row;
|
||||
}
|
||||
|
Reference in New Issue
Block a user