From 81088f60aff90d968d8fb12d7375444fb30b20d5 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Thu, 17 Apr 2025 16:46:53 +0200 Subject: [PATCH] ObjectsRendererHook: Always use `_next` as `data-base-target` Otherwise the link is opened in the same container (_self). --- library/Notifications/Hook/ObjectsRendererHook.php | 1 + 1 file changed, 1 insertion(+) diff --git a/library/Notifications/Hook/ObjectsRendererHook.php b/library/Notifications/Hook/ObjectsRendererHook.php index 93b3e9c1c..b609f314a 100644 --- a/library/Notifications/Hook/ObjectsRendererHook.php +++ b/library/Notifications/Hook/ObjectsRendererHook.php @@ -283,6 +283,7 @@ final public static function renderObjectLink(Objects $object): ?ValidHtml } return $objectLink->addAttributes([ + 'data-base-target' => '_next', 'class' => [ 'icinga-module', 'module-' . ($sourceType === 'icinga2' ? 'icingadb' : $sourceType)