mirror of
https://github.com/unraid/webgui.git
synced 2026-03-07 01:30:59 -06:00
Regression: fix container sorting for Dashboard
This commit is contained in:
@@ -802,6 +802,7 @@ class DockerClient {
|
||||
$this->allContainersCache[] = $c;
|
||||
}
|
||||
}
|
||||
usort($this->allContainersCache, $this->build_sorter('Name'));
|
||||
return $this->allContainersCache;
|
||||
}
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@ if (pgrep('dockerd')!==false && ($display=='icons' || $display=='docker')) {
|
||||
$DockerClient = new DockerClient();
|
||||
$DockerTemplates = new DockerTemplates();
|
||||
$containers = $DockerClient->getDockerContainers() ?: [];
|
||||
ksort($containers,SORT_NATURAL);
|
||||
$Allinfo = $DockerTemplates->getAllInfo();
|
||||
$menu = [];
|
||||
foreach ($containers as $ct) {
|
||||
|
||||
Reference in New Issue
Block a user