1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-09 16:17:48 +02:00

Sort table names (bug #552)

This commit is contained in:
Jakub Vrana
2017-05-19 10:56:17 +02:00
parent 65fa4b4e31
commit 0b824dad29
2 changed files with 4 additions and 1 deletions

View File

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

View File

@@ -1,3 +1,6 @@
Adminer 4.3.2-dev:
PostgreSQL: Sort table names (regression from 4.3.1)
Adminer 4.3.1 (released 2017-04-14):
Fix permanent login after logout (bug #539)
Fix SQL command autofocus (regression from 4.0.0)