Merge branch 'bugfix/History-grid-should-allow-filters-6638'
fixes #6638
This commit is contained in:
commit
ecc49d3f86
|
@ -604,6 +604,7 @@ class Monitoring_ListController extends Controller
|
||||||
|
|
||||||
$this->applyFilter($query);
|
$this->applyFilter($query);
|
||||||
|
|
||||||
|
$this->filterQuery($query);
|
||||||
$this->setupSortControl(array(
|
$this->setupSortControl(array(
|
||||||
'timestamp' => 'Occurence'
|
'timestamp' => 'Occurence'
|
||||||
));
|
));
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
<?php if (false === $this->compact): ?>
|
<?php if (false === $this->compact): ?>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<?= $this->tabs->render($this); ?>
|
<?= $this->tabs ?>
|
||||||
<div style="margin: 1em" class="dontprint">
|
<div style="margin: 1em" class="dontprint">
|
||||||
<?= $this->translate('Sort by'); ?> <?= $this->sortControl->render($this); ?>
|
<div style="float: right">
|
||||||
|
<?= $this->translate('Sort by') ?> <?= $this->sortControl ?>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?= $this->widget('limiter', array('url' => $this->url, 'max' => $this->history->count())); ?>
|
<?= $this->widget('limiter', array('url' => $this->url, 'max' => $this->history->count())); ?>
|
||||||
|
@ -12,6 +14,7 @@
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
<?= $this->filterEditor ?>
|
||||||
<?php if (empty($history)): ?>
|
<?php if (empty($history)): ?>
|
||||||
<?= $this->translate('No history events matching the filter') ?>
|
<?= $this->translate('No history events matching the filter') ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue