Fix sorting of entries in Files sidebar

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Šī revīzija ir iekļauta:
Jan-Christoph Borchardt 2017-08-25 14:41:26 +02:00
vecāks 7b8bd8188e
revīzija d0d6a92054
2 mainīti faili ar 6 papildinājumiem un 6 dzēšanām

Parādīt failu

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

Parādīt failu

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