diff --git a/library/Cube/CubeRenderer/HostStatusCubeRenderer.php b/library/Cube/CubeRenderer/HostStatusCubeRenderer.php index 777f41b..65d40b9 100644 --- a/library/Cube/CubeRenderer/HostStatusCubeRenderer.php +++ b/library/Cube/CubeRenderer/HostStatusCubeRenderer.php @@ -131,13 +131,6 @@ protected function getDetailsBaseUrl() protected function getSeveritySortColumns(): Generator { - $columns = ['down', 'unreachable']; - foreach ($columns as $column) { - yield "hosts_unhandled_$column"; - } - - foreach ($columns as $column) { - yield "hosts_$column"; - } + yield from ['hosts_unhandled_down', 'hosts_down']; } }