summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-10-04 18:49:32 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-18 13:44:08 +0200
commit184c1b03e380734906c725a2140a0fd7f6fc7d0d (patch)
treea921020fac0d4fd852fca37c7b503d12ab239814 /apps
parent07224da3d47271fce6d364fee73bc381a23a48f0 (diff)
downloadnextcloud-server-184c1b03e380734906c725a2140a0fd7f6fc7d0d.tar.gz
nextcloud-server-184c1b03e380734906c725a2140a0fd7f6fc7d0d.zip
Default to grid
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/files/list.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/list.php b/apps/files/list.php
index 3b54d5ed242..f18dc5964b8 100644
--- a/apps/files/list.php
+++ b/apps/files/list.php
@@ -25,7 +25,7 @@ $config = \OC::$server->getConfig();
$userSession = \OC::$server->getUserSession();
// TODO: move this to the generated config.js
$publicUploadEnabled = $config->getAppValue('core', 'shareapi_allow_public_upload', 'yes');
-$showgridview = $config->getUserValue($userSession->getUser()->getUID(), 'files', 'show_grid', false);
+$showgridview = $config->getUserValue($userSession->getUser()->getUID(), 'files', 'show_grid', true);
// renders the controls and table headers template
$tmpl = new OCP\Template('files', 'list', '');