Order user groups in ascending order

This commit is contained in:
Kasun Chathuranga 2013-07-31 10:23:28 +05:30
parent d8c97fa034
commit 82e776bd74

View File

@ -3236,7 +3236,7 @@ function PMA_getHtmlForUserGroupsTable()
$html_output = '<h2>' . __('User groups') . '</h2>';
$groupTable = PMA_Util::backquote($GLOBALS['cfg']['Server']['pmadb'])
. "." . PMA_Util::backquote($GLOBALS['cfg']['Server']['usergroups']);
$sql_query = "SELECT * FROM " . $groupTable;
$sql_query = "SELECT * FROM " . $groupTable . " ORDER BY `usergroup` ASC";
$result = PMA_queryAsControlUser($sql_query, false);
if ($result && $GLOBALS['dbi']->numRows($result)) {