Permalink
Browse files

Sort databases in PostgreSQL

  • Loading branch information...
juzna authored and vrana committed Jul 29, 2011
1 parent b01d0ce commit 21e88515c11cda4adcfc48ef2fe3d7c990d96e6d
Showing with 2 additions and 1 deletion.
  1. +1 −1 adminer/drivers/pgsql.inc.php
  2. +1 −0 changes.txt
@@ -167,7 +167,7 @@ function connect() {
}
function get_databases() {
- return get_vals("SELECT datname FROM pg_database");
+ return get_vals("SELECT datname FROM pg_database ORDER BY datname");
}
function limit($query, $where, $limit, $offset = 0, $separator = " ") {
View
@@ -1,6 +1,7 @@
Adminer 3.3.2-dev:
Don't scroll with AJAX select order and alter move column
Fast number of rows with big tables (PostgreSQL)
+Sort databases (PostgreSQL)
Adminer 3.3.1 (released 2011-07-27):
Fix XSS introduced in Adminer 3.2.0

0 comments on commit 21e8851

Please sign in to comment.