From 122505ced416ae4d37d18f3ba511dd98ba9c27bd Mon Sep 17 00:00:00 2001 From: raviks789 <33730024+raviks789@users.noreply.github.com> Date: Fri, 10 Jun 2022 14:32:18 +0200 Subject: [PATCH] Ensure drag and drop of dashboard home happens correctly (caused by b6958b1) --- library/Icinga/Web/Dashboard/Common/DashboardEntries.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/Dashboard/Common/DashboardEntries.php b/library/Icinga/Web/Dashboard/Common/DashboardEntries.php index 4df51e59b..37907b6f1 100644 --- a/library/Icinga/Web/Dashboard/Common/DashboardEntries.php +++ b/library/Icinga/Web/Dashboard/Common/DashboardEntries.php @@ -124,7 +124,7 @@ trait DashboardEntries $data = [$dashboard]; } else { $data = array_values($this->getEntries()); - array_splice($data, array_search($dashboard->getName(), array_keys($this->getEntries())), 1); + array_splice($data, array_search(strtolower($dashboard->getName()), array_keys($this->getEntries())), 1); array_splice($data, $position, 0, [$dashboard]); }