From 52c777350805c4e358e7ff19f44cc74a475e61cb Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Tue, 12 Sep 2023 11:23:29 +0200 Subject: [PATCH] (Hosts/Services)Controller: Do not make object list in detail view controls an `.action-list` --- application/controllers/HostsController.php | 1 + application/controllers/ServicesController.php | 1 + 2 files changed, 2 insertions(+) diff --git a/application/controllers/HostsController.php b/application/controllers/HostsController.php index 8839c04bb..7c5b0ec4e 100644 --- a/application/controllers/HostsController.php +++ b/application/controllers/HostsController.php @@ -169,6 +169,7 @@ public function detailsAction() $this->addControl( (new HostList($results)) ->setViewMode('minimal') + ->setDetailActionsDisabled() ); $this->addControl(new ShowMore( $results, diff --git a/application/controllers/ServicesController.php b/application/controllers/ServicesController.php index 346a00aea..4c3a6cd13 100644 --- a/application/controllers/ServicesController.php +++ b/application/controllers/ServicesController.php @@ -185,6 +185,7 @@ public function detailsAction() $this->addControl( (new ServiceList($results)) ->setViewMode('minimal') + ->setDetailActionsDisabled() ); $this->addControl(new ShowMore( $results,