mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 17:14:07 +02:00
Sort table names (bug #552)
This commit is contained in:
@@ -256,7 +256,7 @@ ORDER BY 1";
|
||||
FROM pg_class c
|
||||
JOIN pg_namespace n ON(n.nspname = current_schema() AND n.oid = c.relnamespace)
|
||||
WHERE relkind IN ('r', 'm', 'v')
|
||||
" . ($name != "" ? "AND relname = " . q($name) : "ORDER BY c.oid")
|
||||
" . ($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