diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-15 20:29:10 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-15 20:29:10 +0100 |
commit | 1deda8fd6575426e854276c83a52df8060893b1e (patch) | |
tree | ea28d9b3b0cf10b12d6ed1b026e2e54ce8bca12a /apps/files_sharing/lib/Controller | |
parent | 846e2f296725c0ca5052707d2fc7fa7f464ca760 (diff) | |
download | nextcloud-server-1deda8fd6575426e854276c83a52df8060893b1e.tar.gz nextcloud-server-1deda8fd6575426e854276c83a52df8060893b1e.zip |
Rollback to default list view
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing/lib/Controller')
-rw-r--r-- | apps/files_sharing/lib/Controller/ShareController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/Controller/ShareController.php b/apps/files_sharing/lib/Controller/ShareController.php index 00c6a7a4985..f3ad6223511 100644 --- a/apps/files_sharing/lib/Controller/ShareController.php +++ b/apps/files_sharing/lib/Controller/ShareController.php @@ -360,7 +360,7 @@ class ShareController extends AuthPublicShareController { $folder->assign('isPublic', true); $folder->assign('hideFileList', $hideFileList); $folder->assign('publicUploadEnabled', 'no'); - $folder->assign('showgridview', true); + $folder->assign('showgridview', false); $folder->assign('uploadMaxFilesize', $maxUploadFilesize); $folder->assign('uploadMaxHumanFilesize', \OCP\Util::humanFileSize($maxUploadFilesize)); $folder->assign('freeSpace', $freeSpace); @@ -371,7 +371,7 @@ class ShareController extends AuthPublicShareController { $shareIsFolder = false; } - $shareTmpl['showgridview'] = true; + $shareTmpl['showgridview'] = false; $shareTmpl['hideFileList'] = $hideFileList; $shareTmpl['shareOwner'] = $this->userManager->get($share->getShareOwner())->getDisplayName(); |