mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-02-20 08:20:34 -05:00
service/history: Only filter history entries by service id
This commit is contained in:
parent
dd2bc2c0f2
commit
ce0ec14d8c
1 changed files with 1 additions and 4 deletions
|
|
@ -129,10 +129,7 @@ class ServiceController extends Controller
|
|||
|
||||
$history
|
||||
->getSelectBase()
|
||||
->where([
|
||||
'history_host_service.id = ?' => $this->service->id,
|
||||
'history_service.id = ?' => $this->service->id
|
||||
], Sql::ANY);
|
||||
->where(['history_service.id = ?' => $this->service->id]);
|
||||
|
||||
$url = ServiceLinks::history($this->service, $this->service->host);
|
||||
if (! $this->params->has('page') || ($page = (int) $this->params->shift('page')) < 1) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue