From d0d6a92054a156b6c932234f5081fa9feabb6acd Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Fri, 25 Aug 2017 14:41:26 +0200 Subject: [PATCH] Fix sorting of entries in Files sidebar Signed-off-by: Jan-Christoph Borchardt --- apps/files/tests/Controller/ViewControllerTest.php | 6 +++--- apps/files_sharing/appinfo/app.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/files/tests/Controller/ViewControllerTest.php b/apps/files/tests/Controller/ViewControllerTest.php index db86e0037e..e0965d4314 100644 --- a/apps/files/tests/Controller/ViewControllerTest.php +++ b/apps/files/tests/Controller/ViewControllerTest.php @@ -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' => '', diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php index 30a33aa911..b89d468f9b 100644 --- a/apps/files_sharing/appinfo/app.php +++ b/apps/files_sharing/appinfo/app.php @@ -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'), ]; });