mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
DashboardControls: Ensure to use sorted entries in rewindEntries()
This commit is contained in:
parent
63802dfc45
commit
7aa34bb444
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user