Specify sorting order

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2017-02-13 12:23:46 +01:00
parent 82429cd01c
commit 0cba123659

View File

@ -1714,6 +1714,8 @@ function PMA_getQueryAndResultForReorderingTable()
&& $_REQUEST['order_order'] === 'desc'
) {
$sql_query .= ' DESC';
} else {
$sql_query .= ' ASC';
}
$sql_query .= ';';
$result = $GLOBALS['dbi']->query($sql_query);