Skip to content

Commit

Permalink
Order sequences list by name
Browse files Browse the repository at this point in the history
  • Loading branch information
Matej Humpal authored and vrana committed Jan 6, 2015
1 parent 25329ce commit 647e8d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adminer/db.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@

if (support("sequence")) {
echo "<h3 id='sequences'>" . lang('Sequences') . "</h3>\n";
$sequences = get_vals("SELECT sequence_name FROM information_schema.sequences WHERE sequence_schema = current_schema()");
$sequences = get_vals("SELECT sequence_name FROM information_schema.sequences WHERE sequence_schema = current_schema() ORDER BY sequence_name");
if ($sequences) {
echo "<table cellspacing='0'>\n";
echo "<thead><tr><th>" . lang('Name') . "</thead>\n";
Expand Down

0 comments on commit 647e8d5

Please sign in to comment.