From 457ad3ea4aadcc5c0081d9745afc85d36c4fa5e9 Mon Sep 17 00:00:00 2001 From: Yonas Habteab Date: Tue, 2 Mar 2021 09:40:22 +0100 Subject: [PATCH] WIP --- library/Icinga/Web/Menu.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/library/Icinga/Web/Menu.php b/library/Icinga/Web/Menu.php index 7f1c416fc09..fe324b01b4c 100644 --- a/library/Icinga/Web/Menu.php +++ b/library/Icinga/Web/Menu.php @@ -7,7 +7,6 @@ use Icinga\Authentication\Auth; use Icinga\Common\Database; use Icinga\Web\Navigation\Navigation; -use ipl\Sql\Filter\IsNull; use ipl\Sql\Select; /** @@ -153,7 +152,7 @@ protected function loadDashboardHomeFromDatabase() $this->getItem('dashboard')->addChild($this->createItem($dashboardHome->name, [ 'label' => t($dashboardHome->name), 'description' => $dashboardHome->name, - 'url' => 'dashboard/home?id=' . $dashboardHome->id, + 'url' => 'home?name=' . $dashboardHome->name . '&id=' . $dashboardHome->id, 'priority' => $priority ]));