navigation overviews: Use "type" as default sort column instead of "name"
As long as we're not splitting the items by type in different views, this sort column is probably more commonly used.. refs #5600
This commit is contained in:
parent
2cf52df0a8
commit
b39eddf69d
|
@ -85,8 +85,8 @@ class NavigationController extends Controller
|
|||
)->activate('navigation');
|
||||
$this->setupSortControl(
|
||||
array(
|
||||
'name' => $this->translate('Shared Navigation'),
|
||||
'type' => $this->translate('Type')
|
||||
'type' => $this->translate('Type'),
|
||||
'name' => $this->translate('Shared Navigation')
|
||||
),
|
||||
$query
|
||||
);
|
||||
|
@ -136,9 +136,9 @@ class NavigationController extends Controller
|
|||
)->activate('navigation/shared');
|
||||
$this->setupSortControl(
|
||||
array(
|
||||
'name' => $this->translate('Shared Navigation'),
|
||||
'type' => $this->translate('Type'),
|
||||
'owner' => $this->translate('Owner')
|
||||
'owner' => $this->translate('Owner'),
|
||||
'name' => $this->translate('Shared Navigation')
|
||||
),
|
||||
$query
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue