ORDER BY clause should include Select subexpressions' names
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
This commit is contained in:
parent
61dd5a7b94
commit
b12b1ae08a
@ -3822,7 +3822,8 @@ function PMA_getHtmlForInitials($array_initials)
|
|||||||
}
|
}
|
||||||
|
|
||||||
$initials = $GLOBALS['dbi']->tryQuery(
|
$initials = $GLOBALS['dbi']->tryQuery(
|
||||||
'SELECT DISTINCT UPPER(LEFT(`User`,1)) FROM `user` ORDER BY `User` ASC',
|
'SELECT DISTINCT UPPER(LEFT(`User`,1)) FROM `user`'
|
||||||
|
. ' ORDER BY UPPER(LEFT(`User`,1)) ASC',
|
||||||
null,
|
null,
|
||||||
PMA\libraries\DatabaseInterface::QUERY_STORE
|
PMA\libraries\DatabaseInterface::QUERY_STORE
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user