1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-16 11:34:10 +02:00

Elasticsearch: sort as strings

This commit is contained in:
Gargaj
2014-09-16 17:40:47 +02:00
committed by Jakub Vrana
parent 8871fffb7c
commit 9c534a0a80

View File

@@ -204,7 +204,7 @@ if (isset($_GET["elastic"])) {
$return = $connection->rootQuery('_aliases'); $return = $connection->rootQuery('_aliases');
if ($return) { if ($return) {
$return = array_keys($return); $return = array_keys($return);
sort($return); sort($return, SORT_STRING);
} }
return $return; return $return;
} }