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'); $detailUrl = Url::fromPath('monitoring/list/eventhistory');
$timeline = new TimeLine( $timeline = new TimeLine(
$this->backend->select()->from('eventhistory', $this->applyRestriction(
array( 'monitoring/filter/objects',
'name' => 'type', $this->backend->select()->from('eventhistory',
'time' => 'timestamp' array(
'name' => 'type',
'time' => 'timestamp'
)
) )
), ),
array( array(