Elasticsearch: sort databases
This commit is contained in:
parent
024d73934f
commit
c38f25b5d6
|
@ -194,6 +194,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);
|
||||||
}
|
}
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue