GroupController: Ensure that the sort and dir parameters are being applied
refs #8826
This commit is contained in:
parent
c91d3e52ac
commit
2e0a444f13
|
@ -16,6 +16,7 @@ class GroupController extends Controller
|
||||||
*/
|
*/
|
||||||
public function init()
|
public function init()
|
||||||
{
|
{
|
||||||
|
parent::init();
|
||||||
$this->createTabs();
|
$this->createTabs();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -79,12 +80,15 @@ class GroupController extends Controller
|
||||||
|
|
||||||
$this->setupLimitControl();
|
$this->setupLimitControl();
|
||||||
$this->setupPaginationControl($this->view->groups);
|
$this->setupPaginationControl($this->view->groups);
|
||||||
$this->setupSortControl(array(
|
$this->setupSortControl(
|
||||||
'group_name' => $this->translate('Group'),
|
array(
|
||||||
'parent_name' => $this->translate('Parent'),
|
'group_name' => $this->translate('Group'),
|
||||||
'created_at' => $this->translate('Created at'),
|
'parent_name' => $this->translate('Parent'),
|
||||||
'last_modified' => $this->translate('Last modified')
|
'created_at' => $this->translate('Created at'),
|
||||||
));
|
'last_modified' => $this->translate('Last modified')
|
||||||
|
),
|
||||||
|
$query
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue