HostgroupsController: Preserve limit and sort params when filtering

This commit is contained in:
Johannes Meyer 2020-05-19 12:34:08 +02:00
parent 7204433f5e
commit 9972f11eab

View file

@ -32,7 +32,10 @@ class HostgroupsController extends Controller
'services_total desc' => t('Total Services')
]
);
$filterControl = $this->createFilterControl($hostgroups);
$filterControl = $this->createFilterControl($hostgroups, [
$limitControl->getLimitParam(),
$sortControl->getSortParam()
]);
$this->filter($hostgroups);