TimelineController: Restrict the displayed entries

refs #9009
This commit is contained in:
Johannes Meyer 2015-06-15 16:04:43 +02:00
parent efc52e3342
commit ede8cc5e83
1 changed files with 7 additions and 4 deletions

View File

@ -30,10 +30,13 @@ class Monitoring_TimelineController extends Controller
$detailUrl = Url::fromPath('monitoring/list/eventhistory');
$timeline = new TimeLine(
$this->backend->select()->from('eventhistory',
array(
'name' => 'type',
'time' => 'timestamp'
$this->applyRestriction(
'monitoring/filter/objects',
$this->backend->select()->from('eventhistory',
array(
'name' => 'type',
'time' => 'timestamp'
)
)
),
array(