list/servicegroups: Preserve filter when switching to grid mode

refs #3664
This commit is contained in:
Johannes Meyer 2019-04-16 13:53:54 +02:00
parent cd2a0fd6c5
commit 6761aecb60
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ if (! $this->compact): ?>
<div class="sort-controls-container">
<?= $this->limiter ?>
<?= $this->sortBox ?>
<a href="<?= $this->href('monitoring/list/servicegroup-grid') ?>" class="grid-toggle-link"
<a href="<?= $this->href('monitoring/list/servicegroup-grid')->addFilter($this->filterEditor->getFilter()) ?>" class="grid-toggle-link"
title="<?= $this->translate('Toogle grid view mode') ?>">
<?= $this->icon('th-list', null, ['class' => '-active']) ?>
<?= $this->icon('th-thumb-empty', null, ['class' => '-inactive']) ?>