aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Service/UserConfig.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/lib/Service/UserConfig.php')
-rw-r--r--apps/files/lib/Service/UserConfig.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/files/lib/Service/UserConfig.php b/apps/files/lib/Service/UserConfig.php
index 00569dc6aeb..b6755836b0f 100644
--- a/apps/files/lib/Service/UserConfig.php
+++ b/apps/files/lib/Service/UserConfig.php
@@ -48,6 +48,12 @@ class UserConfig {
'allowed' => [true, false],
],
[
+ // Whether to sort folders before files in the list or not
+ 'key' => 'sort_folders_first',
+ 'default' => true,
+ 'allowed' => [true, false],
+ ],
+ [
// Whether to show the files list in grid view or not
'key' => 'grid_view',
'default' => false,