Order PostgreSQL table list by name

This commit is contained in:
Jakub Vrana 2013-05-23 09:22:12 -07:00
parent 7be9d5c7ca
commit 15e698d302
2 changed files with 2 additions and 1 deletions

View file

@ -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;
}

View file

@ -1,6 +1,7 @@
Adminer 3.7.1-dev:
Increase click target for checkboxes
Use shadow for highlighting default button
PostgreSQL: Order table list by name
Adminer 3.7.0 (released 2013-05-19):
Allow more SQL files to be uploaded at the same time