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:
Johannes Meyer 2015-09-18 08:58:57 +02:00
parent 2cf52df0a8
commit b39eddf69d
1 changed files with 4 additions and 4 deletions

View File

@ -85,8 +85,8 @@ class NavigationController extends Controller
)->activate('navigation'); )->activate('navigation');
$this->setupSortControl( $this->setupSortControl(
array( array(
'name' => $this->translate('Shared Navigation'), 'type' => $this->translate('Type'),
'type' => $this->translate('Type') 'name' => $this->translate('Shared Navigation')
), ),
$query $query
); );
@ -136,9 +136,9 @@ class NavigationController extends Controller
)->activate('navigation/shared'); )->activate('navigation/shared');
$this->setupSortControl( $this->setupSortControl(
array( array(
'name' => $this->translate('Shared Navigation'),
'type' => $this->translate('Type'), 'type' => $this->translate('Type'),
'owner' => $this->translate('Owner') 'owner' => $this->translate('Owner'),
'name' => $this->translate('Shared Navigation')
), ),
$query $query
); );