From 0751c14907e3386951237b9347eccd9a43c0ebd4 Mon Sep 17 00:00:00 2001 From: Kevin Papst Date: Wed, 30 Sep 2020 18:47:17 +0200 Subject: [PATCH] highlight reporting in navigation for user-by-week report (#2005) --- src/EventSubscriber/MenuSubscriber.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EventSubscriber/MenuSubscriber.php b/src/EventSubscriber/MenuSubscriber.php index 7cab061f..29009529 100644 --- a/src/EventSubscriber/MenuSubscriber.php +++ b/src/EventSubscriber/MenuSubscriber.php @@ -95,7 +95,7 @@ final class MenuSubscriber implements EventSubscriberInterface if ($auth->isGranted('view_reporting')) { $reporting = new MenuItemModel('reporting', 'menu.reporting', 'reporting', [], $this->getIcon('reporting')); - $reporting->setChildRoutes(['report_user_month', 'report_monthly_users']); + $reporting->setChildRoutes(['report_user_week', 'report_user_month', 'report_monthly_users']); $menu->addChild($reporting); }