瀏覽代碼

Fix sorting of entries in Files sidebar

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
tags/v13.0.0beta1
Jan-Christoph Borchardt 6 年之前
父節點
當前提交
d0d6a92054
共有 2 個文件被更改,包括 6 次插入6 次删除
  1. 3
    3
      apps/files/tests/Controller/ViewControllerTest.php
  2. 3
    3
      apps/files_sharing/appinfo/app.php

+ 3
- 3
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' => '',

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

Loading…
取消
儲存