From 65448ea9ac2f93e2dd7f3e5a7f547f8f9cef336d Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 31 Jan 2020 15:36:25 +0100 Subject: [PATCH] HostController: Use the correct history route to load more --- application/controllers/HostController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/HostController.php b/application/controllers/HostController.php index bf623038..6d825458 100644 --- a/application/controllers/HostController.php +++ b/application/controllers/HostController.php @@ -130,7 +130,7 @@ class HostController extends Controller 'history.object_type = ?' => 'host' ]); - $url = Url::fromPath('icingadb/history')->setParams(clone $this->params); + $url = HostLinks::history($this->host); if (! $this->params->has('page') || ($page = (int) $this->params->shift('page')) < 1) { $page = 1; }