mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
ServiceController: Use the correct history route to load more
This commit is contained in:
parent
65448ea9ac
commit
e4fb4d5fcb
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ class ServiceController extends Controller
|
|||
'history_service.id = ?' => $this->service->id
|
||||
], Sql::ANY);
|
||||
|
||||
$url = Url::fromPath('icingadb/history')->setParams(clone $this->params);
|
||||
$url = ServiceLinks::history($this->service, $this->service->host);
|
||||
if (! $this->params->has('page') || ($page = (int) $this->params->shift('page')) < 1) {
|
||||
$page = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue