service/history: Only filter history entries by service id

This commit is contained in:
Johannes Meyer 2020-03-03 09:02:14 +01:00
parent dd2bc2c0f2
commit ce0ec14d8c

View file

@ -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) {