diff --git a/application/controllers/GroupController.php b/application/controllers/GroupController.php index 70954aaf1..1e7090019 100644 --- a/application/controllers/GroupController.php +++ b/application/controllers/GroupController.php @@ -23,6 +23,7 @@ class GroupController extends AuthBackendController public function listAction() { $this->assertPermission('config/authentication/groups/show'); + $this->createListTabs()->activate('group/list'); $backendNames = array_map( function ($b) { return $b->getName(); }, $this->loadUserGroupBackends('Icinga\Data\Selectable') @@ -60,7 +61,6 @@ class GroupController extends AuthBackendController $this->view->groups = $query; $this->view->backend = $backend; - $this->createListTabs()->activate('group/list'); $this->setupPaginationControl($query); $this->setupLimitControl(); diff --git a/application/controllers/UserController.php b/application/controllers/UserController.php index c71fe9696..6fec397cd 100644 --- a/application/controllers/UserController.php +++ b/application/controllers/UserController.php @@ -23,6 +23,7 @@ class UserController extends AuthBackendController public function listAction() { $this->assertPermission('config/authentication/users/show'); + $this->createListTabs()->activate('user/list'); $backendNames = array_map( function ($b) { return $b->getName(); }, $this->loadUserBackends('Icinga\Data\Selectable') @@ -60,7 +61,6 @@ class UserController extends AuthBackendController $this->view->users = $query; $this->view->backend = $backend; - $this->createListTabs()->activate('user/list'); $this->setupPaginationControl($query); $this->setupLimitControl();