mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
HostController: Use the correct history route to load more
This commit is contained in:
parent
ceb7c396a2
commit
65448ea9ac
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue