Skip to content

Commit

Permalink
Merge branch 'QA_4_7'
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Jun 6, 2017
2 parents ae67d1c + 8a98c29 commit a55d414
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -21,6 +21,7 @@ phpMyAdmin - ChangeLog
- issue #13311 Fixed direct login for accounts without password
- issue #13316 Fixed check for mbstring.func_overload
- issue #13323 Fixed wrong encoding of table at triggers
- issue #12976 Fixed natural sorting in several places

4.7.1 (2017-05-25)
- issue #13132 Always execute tracking queries as controluser
Expand Down
2 changes: 1 addition & 1 deletion libraries/DatabaseInterface.php
Expand Up @@ -327,7 +327,7 @@ public function getTables($database, $link = null)
self::QUERY_STORE
);
if ($GLOBALS['cfg']['NaturalOrder']) {
uksort($tables, 'strnatcasecmp');
natsort($tables);
}
return $tables;
}
Expand Down
4 changes: 2 additions & 2 deletions libraries/controllers/table/TableRelationController.php
Expand Up @@ -307,7 +307,7 @@ public function getDropdownValueForTableAction()
$columns[] = htmlspecialchars($column);
}
if ($GLOBALS['cfg']['NaturalOrder']) {
uksort($columns, 'strnatcasecmp');
natsort($columns);
}
$this->response->addJSON('columns', $columns);

Expand Down Expand Up @@ -360,7 +360,7 @@ public function getDropdownValueForDbAction()
}
}
if ($GLOBALS['cfg']['NaturalOrder']) {
uksort($tables, 'strnatcasecmp');
natsort($tables);
}
$this->response->addJSON('tables', $tables);
}
Expand Down
2 changes: 1 addition & 1 deletion templates/table/relation/foreign_key_row.phtml
Expand Up @@ -69,7 +69,7 @@ if ($foreign_db) {
}
}
if ($GLOBALS['cfg']['NaturalOrder']) {
uksort($tables, 'strnatcasecmp');
natsort($tables);
}
}
?>
Expand Down

0 comments on commit a55d414

Please sign in to comment.