From d526ab55fb501ae8940ea370dbfe773679b95d38 Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Thu, 29 Nov 2018 14:05:10 +0100 Subject: Fix default filepicker style and gridview MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/files/lib/Controller/ApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files/lib/Controller/ApiController.php') diff --git a/apps/files/lib/Controller/ApiController.php b/apps/files/lib/Controller/ApiController.php index a967c8bd7bb..f9e4bcb5738 100644 --- a/apps/files/lib/Controller/ApiController.php +++ b/apps/files/lib/Controller/ApiController.php @@ -286,7 +286,7 @@ class ApiController extends Controller { * @NoAdminRequired */ public function getGridView() { - $status = $this->config->getUserValue($this->userSession->getUser()->getUID(), 'files', 'show_grid', '1') === '1'; + $status = $this->config->getUserValue($this->userSession->getUser()->getUID(), 'files', 'show_grid', '0') === '1'; return new JSONResponse(['gridview' => $status]); } -- cgit v1.2.3