Fix sorting of entries in Files sidebar

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
pull/6262/head
Jan-Christoph Borchardt 7 years ago
parent 7b8bd8188e
commit d0d6a92054

@ -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' => '',

@ -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'),
];
});

Loading…
Cancel
Save