mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
UserController: Ensure that the sort and dir parameters are being applied
refs #8826
This commit is contained in:
parent
2e0a444f13
commit
a9f0fd0708
@ -16,6 +16,7 @@ class UserController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function init()
|
public function init()
|
||||||
{
|
{
|
||||||
|
parent::init();
|
||||||
$this->createTabs();
|
$this->createTabs();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -79,12 +80,15 @@ class UserController extends Controller
|
|||||||
|
|
||||||
$this->setupLimitControl();
|
$this->setupLimitControl();
|
||||||
$this->setupPaginationControl($this->view->users);
|
$this->setupPaginationControl($this->view->users);
|
||||||
$this->setupSortControl(array(
|
$this->setupSortControl(
|
||||||
'user_name' => $this->translate('Username'),
|
array(
|
||||||
'is_active' => $this->translate('Active'),
|
'user_name' => $this->translate('Username'),
|
||||||
'created_at' => $this->translate('Created at'),
|
'is_active' => $this->translate('Active'),
|
||||||
'last_modified' => $this->translate('Last modified')
|
'created_at' => $this->translate('Created at'),
|
||||||
));
|
'last_modified' => $this->translate('Last modified')
|
||||||
|
),
|
||||||
|
$query
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user