Specify sorting order
Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
82429cd01c
commit
0cba123659
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user