mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-25 18:59:04 +02:00
DashboardControls: Ensure to use sorted entries in rewindEntries()
This commit is contained in:
parent
930898fd2f
commit
cdb489bc88
@ -92,7 +92,7 @@ trait DashboardControls
|
|||||||
|
|
||||||
public function rewindEntries()
|
public function rewindEntries()
|
||||||
{
|
{
|
||||||
$dashboards = $this->dashboards;
|
$dashboards = $this->getEntries();
|
||||||
if ($this instanceof Dashboard) {
|
if ($this instanceof Dashboard) {
|
||||||
$dashboards = array_filter($dashboards, function ($home) {
|
$dashboards = array_filter($dashboards, function ($home) {
|
||||||
return ! $home->isDisabled();
|
return ! $home->isDisabled();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user