From e8a41a5e01e2e72ba9f0de5f2de3a30db3b2d28a Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Fri, 10 Jan 2020 09:29:03 +0100 Subject: [PATCH] Downtimes: Add "Continue with filter" link --- application/controllers/DowntimesController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/controllers/DowntimesController.php b/application/controllers/DowntimesController.php index a413a112..8b977544 100644 --- a/application/controllers/DowntimesController.php +++ b/application/controllers/DowntimesController.php @@ -5,6 +5,7 @@ namespace Icinga\Module\Icingadb\Controllers; use Icinga\Module\Icingadb\Common\Links; use Icinga\Module\Icingadb\Model\Downtime; use Icinga\Module\Icingadb\Web\Controller; +use Icinga\Module\Icingadb\Widget\ContinueWith; use Icinga\Module\Icingadb\Widget\DowntimeList; use Icinga\Module\Icingadb\Widget\ShowMore; use Icinga\Module\Monitoring\Forms\Command\Object\DeleteDowntimesCommandForm; @@ -59,6 +60,7 @@ class DowntimesController extends Controller $this->addControl($limitControl); $this->addControl($viewModeSwitcher); $this->addControl($filterControl); + $this->addControl(new ContinueWith($this->getFilter(), Links::downtimesDetails())); $this->addContent((new DowntimeList($downtimes))->setViewMode($viewModeSwitcher->getViewMode()));