mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
services/history: Fix duplicate history entries
ce0ec14 was wrong, only the operator had to be removed.
This commit is contained in:
parent
817daec321
commit
0db37fd75e
1 changed files with 4 additions and 1 deletions
|
|
@ -129,7 +129,10 @@ class ServiceController extends Controller
|
|||
|
||||
$history
|
||||
->getSelectBase()
|
||||
->where(['history_service.id = ?' => $this->service->id]);
|
||||
->where([
|
||||
'history_host_service.id = ?' => $this->service->id,
|
||||
'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