diff --git a/application/controllers/HostController.php b/application/controllers/HostController.php index 535a98b6..c573d2c4 100644 --- a/application/controllers/HostController.php +++ b/application/controllers/HostController.php @@ -24,6 +24,7 @@ use Icinga\Module\Icingadb\Widget\Detail\QuickActions; use Icinga\Module\Icingadb\Widget\ItemList\HostList; use Icinga\Module\Icingadb\Widget\ItemList\HistoryList; use Icinga\Module\Icingadb\Widget\ItemList\ServiceList; +use ipl\Stdlib\Filter; use ipl\Web\Url; use ipl\Web\Widget\Tabs; @@ -150,6 +151,8 @@ class HostController extends Controller $history->limit($page * $limitControl->getLimit()); } + $history->filter(Filter::lessThanOrEqual('event_time', $before)); + yield $this->export($history); $this->addControl((new HostList([$this->host]))