From 7aa34bb444c692a8cc090f7e6545a71a546b2141 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 20 Apr 2022 12:57:01 +0200 Subject: [PATCH] DashboardControls: Ensure to use sorted entries in rewindEntries() --- library/Icinga/Web/Dashboard/Common/DashboardControls.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/Dashboard/Common/DashboardControls.php b/library/Icinga/Web/Dashboard/Common/DashboardControls.php index 7f0dc7828..fd5501718 100644 --- a/library/Icinga/Web/Dashboard/Common/DashboardControls.php +++ b/library/Icinga/Web/Dashboard/Common/DashboardControls.php @@ -92,7 +92,7 @@ trait DashboardControls public function rewindEntries() { - $dashboards = $this->dashboards; + $dashboards = $this->getEntries(); if ($this instanceof Dashboard) { $dashboards = array_filter($dashboards, function ($home) { return ! $home->isDisabled();