Merge pull request #6262 from nextcloud/navigation-entries-sort

Fix sorting of entries in Files sidebar
This commit is contained in:
Morris Jobke 2017-08-26 11:16:39 +02:00 committed by GitHub
commit 4e6343a4fb
2 changed files with 6 additions and 6 deletions

View File

@ -167,7 +167,7 @@ class ViewControllerTest extends TestCase {
'id' => 'sharingin',
'appname' => 'files_sharing',
'script' => 'list.php',
'order' => 10,
'order' => 15,
'name' => \OC::$server->getL10N('files_sharing')->t('Shared with you'),
'active' => false,
'icon' => '',
@ -177,7 +177,7 @@ class ViewControllerTest extends TestCase {
'id' => 'sharingout',
'appname' => 'files_sharing',
'script' => 'list.php',
'order' => 15,
'order' => 16,
'name' => \OC::$server->getL10N('files_sharing')->t('Shared with others'),
'active' => false,
'icon' => '',
@ -187,7 +187,7 @@ class ViewControllerTest extends TestCase {
'id' => 'sharinglinks',
'appname' => 'files_sharing',
'script' => 'list.php',
'order' => 20,
'order' => 17,
'name' => \OC::$server->getL10N('files_sharing')->t('Shared by link', []),
'active' => false,
'icon' => '',

View File

@ -51,7 +51,7 @@ if ($config->getAppValue('core', 'shareapi_enabled', 'yes') === 'yes') {
'id' => 'sharingin',
'appname' => 'files_sharing',
'script' => 'list.php',
'order' => 10,
'order' => 15,
'name' => $l->t('Shared with you'),
];
});
@ -63,7 +63,7 @@ if ($config->getAppValue('core', 'shareapi_enabled', 'yes') === 'yes') {
'id' => 'sharingout',
'appname' => 'files_sharing',
'script' => 'list.php',
'order' => 15,
'order' => 16,
'name' => $l->t('Shared with others'),
];
});
@ -76,7 +76,7 @@ if ($config->getAppValue('core', 'shareapi_enabled', 'yes') === 'yes') {
'id' => 'sharinglinks',
'appname' => 'files_sharing',
'script' => 'list.php',
'order' => 20,
'order' => 17,
'name' => $l->t('Shared by link'),
];
});